Skip to content

Commit a56fc9c

Browse files
authored
Some tweaks
1 parent 06e2e7a commit a56fc9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/ffi/c_str.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ use crate::{fmt, ops, slice, str};
1515
// actually reference libstd or liballoc in intra-doc links. so, the best we can do is remove the
1616
// links to `CString` and `String` for now until a solution is developed
1717

18-
/// The `&CStr` type represents a borrowed C string.
18+
/// A dynamically-sized view of a C string.
1919
///
20-
/// Type `&CStr` represents a reference to a borrowed nul-terminated
20+
/// The type `&CStr` represents a reference to a borrowed nul-terminated
2121
/// array of bytes. It can be constructed safely from a <code>&[[u8]]</code>
2222
/// slice, or unsafely from a raw `*const c_char`. It can be expressed as a
2323
/// literal in the form `c"Hello world"`.

0 commit comments

Comments
 (0)