diff options
| author | rodrimati1992 <rodrimatt1985@gmail.com> | 2020-08-05 14:05:57 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-05 14:05:57 -0300 |
| commit | 748b0c37a93b280c2770435825775a3ddcb501ce (patch) | |
| tree | b2f0ec91e0dd4397a941a3e1a2388d28e4cec779 | |
| parent | 750912537d09e62dc0465e493f3bacc63ef63a4f (diff) | |
| download | rust-748b0c37a93b280c2770435825775a3ddcb501ce.tar.gz rust-748b0c37a93b280c2770435825775a3ddcb501ce.zip | |
Fixed mistake
| -rw-r--r-- | library/core/src/str/mod.rs | 4 |
1 files 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 { |
