diff options
| author | Keegan McAllister <kmcallister@mozilla.com> | 2014-12-18 20:09:57 -0800 |
|---|---|---|
| committer | Keegan McAllister <kmcallister@mozilla.com> | 2015-01-05 12:00:57 -0800 |
| commit | fc584793237c388e9dca76ef406d1af34e453fe2 (patch) | |
| tree | 9b8116de6b62341df1fee3edb56368b35d984fd3 /src/libstd/thread_local | |
| parent | 73806ddd0fd91066d7b903a00a080cbadcc04311 (diff) | |
| download | rust-fc584793237c388e9dca76ef406d1af34e453fe2.tar.gz rust-fc584793237c388e9dca76ef406d1af34e453fe2.zip | |
Stop using macro_escape as an inner attribute
In preparation for the rename.
Diffstat (limited to 'src/libstd/thread_local')
| -rw-r--r-- | src/libstd/thread_local/mod.rs | 2 | ||||
| -rw-r--r-- | src/libstd/thread_local/scoped.rs | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/libstd/thread_local/mod.rs b/src/libstd/thread_local/mod.rs index d3b4fab9681..1ed01c034b5 100644 --- a/src/libstd/thread_local/mod.rs +++ b/src/libstd/thread_local/mod.rs @@ -34,13 +34,13 @@ //! will want to make use of some form of **interior mutability** through the //! `Cell` or `RefCell` types. -#![macro_escape] #![stable] use prelude::v1::*; use cell::UnsafeCell; +#[macro_escape] pub mod scoped; // Sure wish we had macro hygiene, no? diff --git a/src/libstd/thread_local/scoped.rs b/src/libstd/thread_local/scoped.rs index dc36fda3a02..714b71d5dbd 100644 --- a/src/libstd/thread_local/scoped.rs +++ b/src/libstd/thread_local/scoped.rs @@ -38,7 +38,6 @@ //! }); //! ``` -#![macro_escape] #![unstable = "scoped TLS has yet to have wide enough use to fully consider \ stabilizing its interface"] |
