Skip to content

Commit 7509125

Browse files
Added issue number, removed trailing whitespace
1 parent 0f7817f commit 7509125

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/str/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ use crate::slice::{self, SliceIndex, Split as SliceSplit};
2222

2323
pub mod pattern;
2424

25-
#[unstable(feature = "str_internals", issue = "none")]
25+
#[unstable(feature = "str_internals", issue = "75196")]
2626
#[allow(missing_docs)]
2727
pub mod lossy;
2828

@@ -2361,7 +2361,7 @@ impl str {
23612361
#[allow(unused_attributes)]
23622362
#[allow_internal_unstable(const_fn_union)]
23632363
pub const fn as_bytes(&self) -> &[u8] {
2364-
2364+
23652365
// SAFETY: const sound because we transmute two types with the same layout
23662366
unsafe { StrOrSlice { str: self }.slice }
23672367
}

0 commit comments

Comments
 (0)