mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
Removed blank line that caused CI error
This commit is contained in:
@@ -2357,7 +2357,6 @@ pub fn is_char_boundary(&self, index: usize) -> bool {
|
||||
#[allow(unused_attributes)]
|
||||
#[allow_internal_unstable(const_fn_union)]
|
||||
pub const fn as_bytes(&self) -> &[u8] {
|
||||
|
||||
// SAFETY: const sound because we transmute two types with the same layout
|
||||
unsafe { StrOrSlice { str: self }.slice }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user