We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4b4d3a commit e6e57efCopy full SHA for e6e57ef
src/raw/cstr.rs
@@ -4,8 +4,8 @@ use crate::error::{Error, Result};
4
5
#[allow(rustdoc::invalid_rust_codeblocks)]
6
/// 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.
+/// Can be constructed at compile-time via the [`cstr!`](crate::raw::cstr) macro or at run-time from
+/// a [`prim@str`] via [`TryFrom`].
9
///
10
/// Unlike [`std::ffi::CStr`], this is required to be valid UTF-8, and does not include the nul
11
/// terminator in the buffer:
0 commit comments