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 6e3c3d2 commit 5f24ef5Copy full SHA for 5f24ef5
src/raw/cstr.rs
@@ -23,7 +23,7 @@ use crate::error::{Error, Result};
23
/// ```
24
/// ```compile_fail
25
/// # use bson::raw::cstr;
26
-/// // &str accepts embedded nil characters:
+/// // bson::raw::CStr does not:
27
/// let invalid: &bson::raw::CStr = cstr!("foo\0bar"); // will not compile
28
29
#[derive(Debug)]
0 commit comments