diff options
| author | Ralf Jung <post@ralfj.de> | 2019-01-21 22:30:52 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2019-01-21 22:30:52 +0100 |
| commit | e7998bf6a6e5cb3c12604d97c72435c1b4cea492 (patch) | |
| tree | 1a3d2c59026162f53922972fa2428bfa8b0a2cf2 | |
| parent | 33b0b7148fa4eacf43c204b2505867a4cd8e4735 (diff) | |
| download | rust-e7998bf6a6e5cb3c12604d97c72435c1b4cea492.tar.gz rust-e7998bf6a6e5cb3c12604d97c72435c1b4cea492.zip | |
un-deprecate mem::zeroed
| -rw-r--r-- | src/libcore/mem.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libcore/mem.rs b/src/libcore/mem.rs index 8fcbb73d9ce..9e100d0a58d 100644 --- a/src/libcore/mem.rs +++ b/src/libcore/mem.rs @@ -489,7 +489,6 @@ pub const fn needs_drop<T>() -> bool { /// assert_eq!(0, x); /// ``` #[inline] -#[rustc_deprecated(since = "2.0.0", reason = "use `mem::MaybeUninit::zeroed` instead")] #[stable(feature = "rust1", since = "1.0.0")] pub unsafe fn zeroed<T>() -> T { #[cfg(not(stage0))] |
