From a29e5a75898175493dfa7d5fd13b02eba791c924 Mon Sep 17 00:00:00 2001 From: Ulrik Sverdrup Date: Sun, 17 Jan 2016 23:36:38 +0100 Subject: [PATCH] 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. --- lifetime-elision.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lifetime-elision.md b/lifetime-elision.md index 41014f4..bcd93a5 100644 --- a/lifetime-elision.md +++ b/lifetime-elision.md @@ -55,8 +55,8 @@ fn frob(s: &str, t: &str) -> &str; // ILLEGAL fn get_mut(&mut self) -> &mut T; // elided fn get_mut<'a>(&'a mut self) -> &'a mut T; // expanded -fn args(&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(&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