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 d44b7fb commit 1e29e78Copy full SHA for 1e29e78
rust/kernel/str.rs
@@ -249,7 +249,7 @@ impl fmt::Debug for CStr {
249
/// let s = CString::try_from_fmt(fmt!("{:?}", penguin)).unwrap();
250
/// assert_eq!(s.as_bytes_with_nul(), "\"\\xf0\\x9f\\x90\\xa7\"\0".as_bytes());
251
///
252
- /// // embedded double quotes are escaped
+ /// // Embedded double quotes are escaped.
253
/// let ascii = c_str!("so \"cool\"");
254
/// let s = CString::try_from_fmt(fmt!("{:?}", ascii)).unwrap();
255
/// assert_eq!(s.as_bytes_with_nul(), "\"so \\\"cool\\\"\"\0".as_bytes());
0 commit comments