Capitalize safety comments

This commit is contained in:
Flying-Toast
2020-09-08 22:26:44 -04:00
parent 90782cb50b
commit c66789d572
15 changed files with 38 additions and 38 deletions

View File

@@ -3245,7 +3245,7 @@ fn is_ascii(s: &[u8]) -> bool {
(word_ptr as usize) - (start as usize) == byte_pos
);
// Safety: We know `word_ptr` is properly aligned (because of
// SAFETY: We know `word_ptr` is properly aligned (because of
// `align_offset`), and we know that we have enough bytes between `word_ptr` and the end
let word = unsafe { word_ptr.read() };
if contains_nonascii(word) {