diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-02-17 19:49:22 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-02-17 22:04:31 -0800 |
| commit | 47f91a9484eceef10536d4caac6ef578cd254567 (patch) | |
| tree | f966ba8492d954fbff298bc8f9f6be9cda3a2449 /src/libcore/cell.rs | |
| parent | 665ea963d3c29ef7670662707f2f2307f000efa3 (diff) | |
| download | rust-47f91a9484eceef10536d4caac6ef578cd254567.tar.gz rust-47f91a9484eceef10536d4caac6ef578cd254567.zip | |
Register new snapshots
Diffstat (limited to 'src/libcore/cell.rs')
| -rw-r--r-- | src/libcore/cell.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libcore/cell.rs b/src/libcore/cell.rs index c13e8e78210..eb138e6142b 100644 --- a/src/libcore/cell.rs +++ b/src/libcore/cell.rs @@ -649,8 +649,7 @@ impl<'b, T> DerefMut for RefMut<'b, T> { /// /// **NOTE:** `UnsafeCell<T>`'s fields are public to allow static initializers. It is not /// recommended to access its fields directly, `get` should be used instead. -#[cfg_attr(stage0, lang="unsafe")] // NOTE: remove after next snapshot -#[cfg_attr(not(stage0), lang="unsafe_cell")] +#[lang="unsafe_cell"] #[stable(feature = "rust1", since = "1.0.0")] pub struct UnsafeCell<T> { /// Wrapped value |
