]> git.lizzy.rs Git - rust.git/blobdiff - src/doc/trpl/lifetimes.md
Fix up wording in lifetime elision docs
[rust.git] / src / doc / trpl / lifetimes.md
index 580960b7e8029758c626f4996d01443aec5496ed..11d651c5778e3ebdaad134184d11bcb3382c6fa2 100644 (file)
@@ -305,7 +305,7 @@ fn substr<'a>(s: &'a str, until: u32) -> &'a str; // expanded
 fn get_str() -> &str; // ILLEGAL, no inputs
 
 fn frob(s: &str, t: &str) -> &str; // ILLEGAL, two inputs
-fn frob<'a, 'b>(s: &'a str, t: &'b str) -> &str; // Expanded: Output lifetime is unclear
+fn frob<'a, 'b>(s: &'a str, t: &'b str) -> &str; // Expanded: Output lifetime is ambiguous
 
 fn get_mut(&mut self) -> &mut T; // elided
 fn get_mut<'a>(&'a mut self) -> &'a mut T; // expanded