From d4fd8538cb01f8be6083d2597a294c673f968290 Mon Sep 17 00:00:00 2001 From: Waffle Date: Sat, 27 Feb 2021 02:33:09 +0300 Subject: [PATCH] Change formatting of safety comment --- library/core/src/str/iter.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/library/core/src/str/iter.rs b/library/core/src/str/iter.rs index 93248d1583370..524a672bfbda2 100644 --- a/library/core/src/str/iter.rs +++ b/library/core/src/str/iter.rs @@ -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) } } }