diff options
| -rw-r--r-- | src/libcollections/string.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcollections/string.rs b/src/libcollections/string.rs index 83c63e47e50..cc7cd050902 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<u8>`; /// * We assume that the `Vec` contains valid UTF-8. #[inline] |
