Skip to content

Commit d4fd853

Browse files
committed
Change formatting of safety comment
1 parent 12d6238 commit d4fd853

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

library/core/src/str/iter.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1282,9 +1282,7 @@ impl<'a> SplitAsciiWhitespace<'a> {
12821282
return "";
12831283
}
12841284

1285-
// Safety:
1286-
//
1287-
// Slice is created from str.
1285+
// SAFETY: Slice is created from str.
12881286
unsafe { crate::str::from_utf8_unchecked(&self.inner.iter.iter.v) }
12891287
}
12901288
}

0 commit comments

Comments
 (0)