Skip to content

Commit 14e97c7

Browse files
committed
fix comment
1 parent 1d8f3ad commit 14e97c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/raw/cstr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ use crate::error::{Error, Result};
2323
/// ```
2424
/// ```compile_fail
2525
/// # use bson::raw::cstr;
26-
/// // &str accepts embedded nil characters:
26+
/// // bson::raw::CStr does not:
2727
/// let invalid: &bson::raw::CStr = cstr!("foo\0bar"); // will not compile
2828
/// ```
2929
#[derive(Debug)]

0 commit comments

Comments
 (0)