about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2015-09-25 13:33:33 -0600
committerSteve Klabnik <steve@steveklabnik.com>2015-09-25 13:33:33 -0600
commitf4dc6c785c243b7de47d2e40caafe401f7b28aad (patch)
treed4e142d77f7957367481c8b3a610f4119b5d87a7
parent8b85b57ccb9a8bf837971d22dc268698f203356e (diff)
parent29048c3a803d085eb814c4410f9258dde81af59d (diff)
downloadrust-f4dc6c785c243b7de47d2e40caafe401f7b28aad.tar.gz
rust-f4dc6c785c243b7de47d2e40caafe401f7b28aad.zip
Rollup merge of #28655 - alfiedotwtf:patch-2, r=sanxiyn
-rw-r--r--src/doc/trpl/lifetimes.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/trpl/lifetimes.md b/src/doc/trpl/lifetimes.md
index 62270cb45b5..fb2fc83e062 100644
--- a/src/doc/trpl/lifetimes.md
+++ b/src/doc/trpl/lifetimes.md
@@ -349,9 +349,9 @@ 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
+fn new<'a>(buf: &'a mut [u8]) -> BufWriter<'a>; // expanded
 ```