diff --git a/src/libcollections/string.rs b/src/libcollections/string.rs index 83c63e47e506b..cc7cd0509029f 100644 --- a/src/libcollections/string.rs +++ b/src/libcollections/string.rs @@ -314,6 +314,7 @@ impl String { /// Creates a new `String` from a length, capacity, and pointer. /// /// This is unsafe because: + /// /// * We call `Vec::from_raw_parts` to get a `Vec`; /// * We assume that the `Vec` contains valid UTF-8. #[inline]