diff options
| author | Ulrik Sverdrup <bluss@users.noreply.github.com> | 2016-01-17 23:36:38 +0100 |
|---|---|---|
| committer | Ulrik Sverdrup <bluss@users.noreply.github.com> | 2016-01-17 23:44:33 +0100 |
| commit | f4fac9b0fa55d253b438eccdf1794baace6c9efe (patch) | |
| tree | 43334e0497ae4e5b557e07035d4635d1b0b859a7 /src/doc/book | |
| parent | bff52927f582e2ca8dea799bd58f06e654295e21 (diff) | |
| download | rust-f4fac9b0fa55d253b438eccdf1794baace6c9efe.tar.gz rust-f4fac9b0fa55d253b438eccdf1794baace6c9efe.zip | |
Fix spacing style of `T: Bound` in docs
The space between `T` and `Bound` is the typical style used in code and produced by rustdoc's rendering. Fixed first in Reflect's docs and then I fixed all occurrences in docs I could find.
Diffstat (limited to 'src/doc/book')
| -rw-r--r-- | src/doc/book/lifetimes.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/book/lifetimes.md b/src/doc/book/lifetimes.md index 8bf90b4ea4d..4193c93c894 100644 --- a/src/doc/book/lifetimes.md +++ b/src/doc/book/lifetimes.md @@ -353,8 +353,8 @@ fn frob<'a, 'b>(s: &'a str, t: &'b str) -> &str; // Expanded: Output lifetime is fn get_mut(&mut self) -> &mut T; // elided fn get_mut<'a>(&'a mut self) -> &'a mut T; // expanded -fn args<T:ToCStr>(&mut self, args: &[T]) -> &mut Command; // elided -fn args<'a, 'b, T:ToCStr>(&'a mut self, args: &'b [T]) -> &'a mut Command; // expanded +fn args<T: ToCStr>(&mut self, args: &[T]) -> &mut Command; // elided +fn args<'a, 'b, T: ToCStr>(&'a mut self, args: &'b [T]) -> &'a mut Command; // expanded fn new(buf: &mut [u8]) -> BufWriter; // elided fn new<'a>(buf: &'a mut [u8]) -> BufWriter<'a>; // expanded |
