Fixed mistake
This commit is contained in:
parent
750912537d
commit
748b0c37a9
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue