diff options
| author | MetaNova <adam.magnum@gmail.com> | 2025-06-24 15:30:32 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-24 15:30:32 -0400 |
| commit | 1080b571ec5187e8544918f64bd45f766718266f (patch) | |
| tree | ba47cf519a371e83a40041c3707cd78793b89829 | |
| parent | 3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 (diff) | |
| download | rust-1080b571ec5187e8544918f64bd45f766718266f.tar.gz rust-1080b571ec5187e8544918f64bd45f766718266f.zip | |
Corrected spelling mistake in c_str.rs
Changed "you're" to "your" on line 470.
| -rw-r--r-- | library/core/src/ffi/c_str.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/ffi/c_str.rs b/library/core/src/ffi/c_str.rs index 1d2e13db218..881a7a24083 100644 --- a/library/core/src/ffi/c_str.rs +++ b/library/core/src/ffi/c_str.rs @@ -467,7 +467,7 @@ impl CStr { /// // 💀 this violates `CStr::from_ptr`'s safety contract /// // 💀 leading to a dereference of a dangling pointer, /// // 💀 which is immediate undefined behavior. - /// // 💀 *BOOM*, you're dead, you're entire program has no meaning. + /// // 💀 *BOOM*, you're dead, your entire program has no meaning. /// dbg!(unsafe { CStr::from_ptr(ptr) }); /// ``` /// |
