Skip to content

Commit 1080b57

Browse files
authored
Corrected spelling mistake in c_str.rs
Changed "you're" to "your" on line 470.
1 parent 3129d37 commit 1080b57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/ffi/c_str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ impl CStr {
467467
/// // 💀 this violates `CStr::from_ptr`'s safety contract
468468
/// // 💀 leading to a dereference of a dangling pointer,
469469
/// // 💀 which is immediate undefined behavior.
470-
/// // 💀 *BOOM*, you're dead, you're entire program has no meaning.
470+
/// // 💀 *BOOM*, you're dead, your entire program has no meaning.
471471
/// dbg!(unsafe { CStr::from_ptr(ptr) });
472472
/// ```
473473
///

0 commit comments

Comments
 (0)