From 748b0c37a93b280c2770435825775a3ddcb501ce Mon Sep 17 00:00:00 2001 From: rodrimati1992 Date: Wed, 5 Aug 2020 14:05:57 -0300 Subject: [PATCH] Fixed mistake --- library/core/src/str/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/core/src/str/mod.rs b/library/core/src/str/mod.rs index 1aa242eedec..a6b19fe1c58 100644 --- a/library/core/src/str/mod.rs +++ b/library/core/src/str/mod.rs @@ -22,7 +22,7 @@ use crate::slice::{self, SliceIndex, Split as SliceSplit}; pub mod pattern; -#[unstable(feature = "str_internals", issue = "75196")] +#[unstable(feature = "str_internals", issue = "none")] #[allow(missing_docs)] pub mod lossy; @@ -423,7 +423,7 @@ union StrOrSlice<'a> { /// ``` #[inline] #[stable(feature = "rust1", since = "1.0.0")] -#[rustc_const_unstable(feature = "const_str_from_utf8_unchecked", issue = "none")] +#[rustc_const_unstable(feature = "const_str_from_utf8_unchecked", issue = "75196")] #[allow(unused_attributes)] #[allow_internal_unstable(const_fn_union)] pub const unsafe fn from_utf8_unchecked(v: &[u8]) -> &str {