diff options
| author | bors <bors@rust-lang.org> | 2015-10-30 19:06:43 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-10-30 19:06:43 +0000 |
| commit | cc8d398e28b6b1918ef85479c2d040dfd0fe582d (patch) | |
| tree | b509827a80ff356e37cf103d1af204eca809edfe /src/libstd/thread | |
| parent | 2aa9f7d3916dcff36a5b8b4978981c056ceb8398 (diff) | |
| parent | e351595c61614c41be08f7508422d5f8a02d1a0e (diff) | |
| download | rust-cc8d398e28b6b1918ef85479c2d040dfd0fe582d.tar.gz rust-cc8d398e28b6b1918ef85479c2d040dfd0fe582d.zip | |
Auto merge of #29475 - apasel422:drop-in, r=alexcrichton
This is a rebase of #27204. r? @alexcrichton CC @Gankro
Diffstat (limited to 'src/libstd/thread')
| -rw-r--r-- | src/libstd/thread/local.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/thread/local.rs b/src/libstd/thread/local.rs index c204f79614a..119429cc584 100644 --- a/src/libstd/thread/local.rs +++ b/src/libstd/thread/local.rs @@ -411,7 +411,7 @@ mod imp { if cfg!(target_os = "macos") { ptr::read((*ptr).inner.get()); } else { - intrinsics::drop_in_place((*ptr).inner.get()); + ptr::drop_in_place((*ptr).inner.get()); } } } |
