We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65a5d8b commit 562880cCopy full SHA for 562880c
library/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