File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -643,6 +643,7 @@ impl fmt::Debug for CString {
643643#[ stable( feature = "cstring_into" , since = "1.7.0" ) ]
644644impl From < CString > for Vec < u8 > {
645645 /// Converts a [`CString`] into a [`Vec`]`<u8>`.
646+ ///
646647 /// The conversion consumes the [`CString`], and removes the terminating NUL byte.
647648 ///
648649 /// [`Vec`]: ../vec/struct.Vec.html
Original file line number Diff line number Diff line change @@ -349,6 +349,7 @@ impl OsString {
349349#[ stable( feature = "rust1" , since = "1.0.0" ) ]
350350impl From < String > for OsString {
351351 /// Converts a [`String`] into a [`OsString`].
352+ ///
352353 /// The conversion copies the data, and includes an allocation on the heap.
353354 ///
354355 /// [`String`]: ../string/struct.String.html
You can’t perform that action at this time.
0 commit comments