mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-05 03:23:25 +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 "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
// Safety:
|
// SAFETY: Slice is created from str.
|
||||||
//
|
|
||||||
// Slice is created from str.
|
|
||||||
unsafe { crate::str::from_utf8_unchecked(&self.inner.iter.iter.v) }
|
unsafe { crate::str::from_utf8_unchecked(&self.inner.iter.iter.v) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user