Skip to content

Commit e6e57ef

Browse files
committed
one final doc tweak
1 parent a4b4d3a commit e6e57ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/raw/cstr.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ use crate::error::{Error, Result};
44

55
#[allow(rustdoc::invalid_rust_codeblocks)]
66
/// A borrowed BSON-spec cstring: Zero or more UTF-8 encoded characters, excluding the nul byte.
7-
/// Can be constructed at compile-time via the [`cstr!`](crate::raw::cstr) macro or at run-time via
8-
/// the [`TryFrom`] impl.
7+
/// Can be constructed at compile-time via the [`cstr!`](crate::raw::cstr) macro or at run-time from
8+
/// a [`prim@str`] via [`TryFrom`].
99
///
1010
/// Unlike [`std::ffi::CStr`], this is required to be valid UTF-8, and does not include the nul
1111
/// terminator in the buffer:

0 commit comments

Comments
 (0)