diff options
| author | Alexis Beingessner <a.beingessner@gmail.com> | 2015-08-19 15:55:36 -0700 |
|---|---|---|
| committer | Andrew Paseltiner <apaseltiner@gmail.com> | 2015-10-30 11:24:54 -0400 |
| commit | e351595c61614c41be08f7508422d5f8a02d1a0e (patch) | |
| tree | b90032c9173100e3ae9bed96ad6f4aa1ee6fd251 /src/libstd/thread | |
| parent | e72c226bed92bbbf9050044b9ebafa6b8deb0ea3 (diff) | |
| download | rust-e351595c61614c41be08f7508422d5f8a02d1a0e.tar.gz rust-e351595c61614c41be08f7508422d5f8a02d1a0e.zip | |
don't use drop_in_place as an intrinsic
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()); } } } |
