We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bbb878 commit e4bb43dCopy full SHA for e4bb43d
alloc/src/string.rs
@@ -966,8 +966,8 @@ impl String {
966
/// This is highly unsafe, due to the number of invariants that aren't
967
/// checked:
968
///
969
- /// * all safety requirements for [`Vec::<u8>::from_raw_parts`]
970
- /// * all safety requirements for [`String::from_utf8_unchecked`]
+ /// * all safety requirements for [`Vec::<u8>::from_raw_parts`].
+ /// * all safety requirements for [`String::from_utf8_unchecked`].
971
972
/// Violating these may cause problems like corrupting the allocator's
973
/// internal data structures. For example, it is normally **not** safe to
0 commit comments