Change formatting of safety comment

This commit is contained in:
Waffle 2021-02-27 02:33:09 +03:00
parent 12d6238f4d
commit d4fd8538cb

View File

@ -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) }
}
}