diff options
| author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2018-11-10 19:31:49 +0700 |
|---|---|---|
| committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2018-11-10 19:31:49 +0700 |
| commit | 9b4d68e53bd0eaa1ef3e402d0227f2d9ef1970dd (patch) | |
| tree | 00295620c9e0ff493223fa15d8048ac3deeed2b5 /src/libstd | |
| parent | 0366ccafa6f1740acc9c26797e08d7691d835393 (diff) | |
| download | rust-9b4d68e53bd0eaa1ef3e402d0227f2d9ef1970dd.tar.gz rust-9b4d68e53bd0eaa1ef3e402d0227f2d9ef1970dd.zip | |
Fix documentation typos.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/ffi/c_str.rs | 2 | ||||
| -rw-r--r-- | src/libstd/lib.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/ffi/c_str.rs b/src/libstd/ffi/c_str.rs index dfec13cd2ec..87ffe0f15e4 100644 --- a/src/libstd/ffi/c_str.rs +++ b/src/libstd/ffi/c_str.rs @@ -1178,7 +1178,7 @@ impl CStr { /// /// If the contents of the `CStr` are valid UTF-8 data, this /// function will return a [`Cow`]`::`[`Borrowed`]`(`[`&str`]`)` - /// with the the corresponding [`&str`] slice. Otherwise, it will + /// with the corresponding [`&str`] slice. Otherwise, it will /// replace any invalid UTF-8 sequences with /// [`U+FFFD REPLACEMENT CHARACTER`][U+FFFD] and return a /// [`Cow`]`::`[`Owned`]`(`[`String`]`)` with the result. diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index f27beb0b46c..0829593505d 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -495,7 +495,7 @@ mod memchr; // compiler pub mod rt; -// Pull in the the `stdsimd` crate directly into libstd. This is the same as +// Pull in the `stdsimd` crate directly into libstd. This is the same as // libcore's arch/simd modules where the source of truth here is in a different // repository, but we pull things in here manually to get it into libstd. // |
