about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJubilee <workingjubilee@gmail.com>2025-06-24 19:45:35 -0700
committerGitHub <noreply@github.com>2025-06-24 19:45:35 -0700
commitd392e8803bfd36700157dc105ea51c3df9fd98b5 (patch)
tree1d543b0cfc7d94bd0f3f47a835abd628a465dda2
parentced61092ac6a49434b28c1656f53ec9f059d83f8 (diff)
parent1080b571ec5187e8544918f64bd45f766718266f (diff)
downloadrust-d392e8803bfd36700157dc105ea51c3df9fd98b5.tar.gz
rust-d392e8803bfd36700157dc105ea51c3df9fd98b5.zip
Rollup merge of #142982 - MetaNova:patch-1, r=jhpratt
Corrected spelling mistake in c_str.rs

Changed "you're" to "your" on line 470.
-rw-r--r--library/core/src/ffi/c_str.rs2
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) });
     /// ```
     ///