Skip to content

Commit ed5edcb

Browse files
committed
Seperate summaries from rest of the comment
1 parent b81ee0b commit ed5edcb

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/libstd/ffi/c_str.rs

+1
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,7 @@ impl fmt::Debug for CString {
643643
#[stable(feature = "cstring_into", since = "1.7.0")]
644644
impl 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

src/libstd/ffi/os_str.rs

+1
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ impl OsString {
349349
#[stable(feature = "rust1", since = "1.0.0")]
350350
impl 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

0 commit comments

Comments
 (0)