mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-26 22:53:28 +00:00
Change formatting of safety comment
This commit is contained in:
parent
12d6238f4d
commit
d4fd8538cb
@ -1282,9 +1282,7 @@ impl<'a> SplitAsciiWhitespace<'a> {
|
||||
return "";
|
||||
}
|
||||
|
||||
// Safety:
|
||||
//
|
||||
// Slice is created from str.
|
||||
// SAFETY: Slice is created from str.
|
||||
unsafe { crate::str::from_utf8_unchecked(&self.inner.iter.iter.v) }
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user