about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-05-23 00:26:17 +0800
committerGitHub <noreply@github.com>2018-05-23 00:26:17 +0800
commit98e801ac0be56d20dfdecb235cf912c58f9a9531 (patch)
treef5974a1802a4b376b195d029bb67d8b07466bfd7 /src/liballoc
parent5b67b13d1e3eb657e94bcf974579c576bbbab873 (diff)
parent26d62f55a40db77c6bca85ad56a44aee898096a5 (diff)
downloadrust-98e801ac0be56d20dfdecb235cf912c58f9a9531.tar.gz
rust-98e801ac0be56d20dfdecb235cf912c58f9a9531.zip
Rollup merge of #50945 - stjepang:stabilize-from-ref, r=SimonSapin
Stabilize feature from_ref

Function `from_ref_mut` is now renamed to `from_mut`, as discussed in #45703.

Closes #45703.

r? @SimonSapin
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/slice.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liballoc/slice.rs b/src/liballoc/slice.rs
index 4427ac004f9..161493f3892 100644
--- a/src/liballoc/slice.rs
+++ b/src/liballoc/slice.rs
@@ -119,8 +119,8 @@ pub use core::slice::{SplitN, RSplitN, SplitNMut, RSplitNMut};
 pub use core::slice::{RSplit, RSplitMut};
 #[stable(feature = "rust1", since = "1.0.0")]
 pub use core::slice::{from_raw_parts, from_raw_parts_mut};
-#[unstable(feature = "from_ref", issue = "45703")]
-pub use core::slice::{from_ref, from_ref_mut};
+#[stable(feature = "from_ref", since = "1.28.0")]
+pub use core::slice::{from_ref, from_mut};
 #[unstable(feature = "slice_get_slice", issue = "35729")]
 pub use core::slice::SliceIndex;
 #[unstable(feature = "exact_chunks", issue = "47115")]