summary refs log tree commit diff
path: root/src/libstd/io/stdio.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-05-22 20:56:18 -0700
committerbors <bors@rust-lang.org>2014-05-22 20:56:18 -0700
commit02117dd1bc10c65ca1f56fd81996a573c88ccfd5 (patch)
tree37eef5dbc14141cacc83d97e025cc398a85f7508 /src/libstd/io/stdio.rs
parentec0258a381b88b5574e3f8ce72ae553ac3a574b7 (diff)
parentd3fde8476b9cdce734dcec6b2003a482c5908235 (diff)
downloadrust-02117dd1bc10c65ca1f56fd81996a573c88ccfd5.tar.gz
rust-02117dd1bc10c65ca1f56fd81996a573c88ccfd5.zip
auto merge of #14357 : huonw/rust/spelling, r=pnkfelix
The span on a inner doc-comment would point to the next token, e.g. the span for the `a` line points to the `b` line, and the span of `b` points to the `fn`.

```rust
//! a
//! b

fn bar() {}
```

Diffstat (limited to 'src/libstd/io/stdio.rs')
-rw-r--r--src/libstd/io/stdio.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/io/stdio.rs b/src/libstd/io/stdio.rs
index 3a103651d63..ab7001cbc9a 100644
--- a/src/libstd/io/stdio.rs
+++ b/src/libstd/io/stdio.rs
@@ -92,7 +92,7 @@ fn src<T>(fd: libc::c_int, readable: bool, f: |StdSource| -> T) -> T {
 /// provided unbuffered access to stdin.
 ///
 /// Care should be taken when creating multiple handles to the stdin of a
-/// process. Beause this is a buffered reader by default, it's possible for
+/// process. Because this is a buffered reader by default, it's possible for
 /// pending input to be unconsumed in one reader and unavailable to other
 /// readers. It is recommended that only one handle at a time is created for the
 /// stdin of a process.