Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1080b57

Browse files
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)

AltStyle によって変換されたページ (->オリジナル) /