diff options
| author | bors <bors@rust-lang.org> | 2014-05-01 20:11:47 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-05-01 20:11:47 -0700 |
| commit | adcbf539550eab5ef0b351b1d198d10acecf5301 (patch) | |
| tree | c314b008c911ee4c0db6e9625422cd8e0d68ad34 /src/libstd | |
| parent | 9f836d5a53e20fde65aa3469fa1826228e7c273a (diff) | |
| parent | e4bf643b9975c4c18da87046a4f99e5a5c058a30 (diff) | |
| download | rust-adcbf539550eab5ef0b351b1d198d10acecf5301.tar.gz rust-adcbf539550eab5ef0b351b1d198d10acecf5301.zip | |
auto merge of #13886 : japaric/rust/fix-an-typos, r=alexcrichton
Found the first one in the rust reference docs. I was going to submit a PR with one fix, but figured I could look for more... This is the result.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/io/mod.rs | 2 | ||||
| -rw-r--r-- | src/libstd/ptr.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs index 2a4952ec830..d948738ac56 100644 --- a/src/libstd/io/mod.rs +++ b/src/libstd/io/mod.rs @@ -1037,7 +1037,7 @@ pub trait Writer { self.write([n]) } - /// Write a i8 (1 byte). + /// Write an i8 (1 byte). fn write_i8(&mut self, n: i8) -> IoResult<()> { self.write([n as u8]) } diff --git a/src/libstd/ptr.rs b/src/libstd/ptr.rs index f70715ed756..ca7680413a0 100644 --- a/src/libstd/ptr.rs +++ b/src/libstd/ptr.rs @@ -131,7 +131,7 @@ pub unsafe fn position<T>(buf: *T, f: |&T| -> bool) -> uint { } } -/// Create an null pointer. +/// Create a null pointer. /// /// # Example /// |
