diff options
| author | lukaramu <lukaramu@users.noreply.github.com> | 2017-08-24 17:33:36 +0200 |
|---|---|---|
| committer | lukaramu <lukaramu@users.noreply.github.com> | 2017-08-24 18:42:53 +0200 |
| commit | 49ee9f3f08ba4583bc722a663e43551067ace271 (patch) | |
| tree | a2f7e28e28b97db9bbd084e6644135b6c2790a2c /src/libstd/io | |
| parent | af6298d590785088aad92f817ce07dfd6cdebdd0 (diff) | |
| download | rust-49ee9f3f08ba4583bc722a663e43551067ace271.tar.gz rust-49ee9f3f08ba4583bc722a663e43551067ace271.zip | |
Fix inconsistent doc headings
This fixes headings reading "Unsafety" and "Example", they should be "Safety" and "Examples" according to RFC 1574.
Diffstat (limited to 'src/libstd/io')
| -rw-r--r-- | src/libstd/io/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs index 0fff833e7d8..074ab3ebd8f 100644 --- a/src/libstd/io/mod.rs +++ b/src/libstd/io/mod.rs @@ -522,7 +522,7 @@ pub trait Read { /// `Read`er - the method only takes `&self` so that it can be used through /// trait objects. /// - /// # Unsafety + /// # Safety /// /// This method is unsafe because a `Read`er could otherwise return a /// non-zeroing `Initializer` from another `Read` type without an `unsafe` @@ -903,7 +903,7 @@ impl Initializer { /// Returns a new `Initializer` which will not zero out buffers. /// - /// # Unsafety + /// # Safety /// /// This may only be called by `Read`ers which guarantee that they will not /// read from buffers passed to `Read` methods, and that the return value of |
