about summary refs log tree commit diff
path: root/library/std/src/ffi/os_str.rs
diff options
context:
space:
mode:
authorcrystalstall <crystalruby@qq.com>2025-01-06 15:47:49 +0800
committercrystalstall <crystalruby@qq.com>2025-01-06 15:47:49 +0800
commit591bf634394867c44cfc5cdaf391f948e6c3d11a (patch)
tree29342b03181f644bb2ab04b7ed1570c0e79dbf58 /library/std/src/ffi/os_str.rs
parent56f9e6f935f9b0d6e83092a0f86d4dbeb878f17d (diff)
downloadrust-591bf634394867c44cfc5cdaf391f948e6c3d11a.tar.gz
rust-591bf634394867c44cfc5cdaf391f948e6c3d11a.zip
chore: remove redundant words in comment
Signed-off-by: crystalstall <crystalruby@qq.com>
Diffstat (limited to 'library/std/src/ffi/os_str.rs')
-rw-r--r--library/std/src/ffi/os_str.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/ffi/os_str.rs b/library/std/src/ffi/os_str.rs
index fff140f1564..7fb57d41043 100644
--- a/library/std/src/ffi/os_str.rs
+++ b/library/std/src/ffi/os_str.rs
@@ -550,7 +550,7 @@ impl OsString {
         OsStr::from_inner_mut(self.inner.leak())
     }
 
-    /// Truncate the the `OsString` to the specified length.
+    /// Truncate the `OsString` to the specified length.
     ///
     /// # Panics
     /// Panics if `len` does not lie on a valid `OsStr` boundary