]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_error_codes/error_codes/E0106.md
Small error codes explanation cleanup (E0092, E0093 and E0094)
[rust.git] / src / librustc_error_codes / error_codes / E0106.md
index 8a49c1f79e475e95b79ebe5c56f1234821555a6d..60ca1ddc2830c3958b07f868a01dcbc1a94356dc 100644 (file)
@@ -2,7 +2,7 @@ This error indicates that a lifetime is missing from a type. If it is an error
 inside a function signature, the problem may be with failing to adhere to the
 lifetime elision rules (see below).
 
-Here are some simple examples of where you'll run into this error:
+Erroneous code examples:
 
 ```compile_fail,E0106
 struct Foo1 { x: &bool }
@@ -27,7 +27,7 @@ function signatures which allows you to leave out lifetimes in certain cases.
 For more background on lifetime elision see [the book][book-le].
 
 The lifetime elision rules require that any function signature with an elided
-output lifetime must either have
+output lifetime must either have:
 
  - exactly one input lifetime
  - or, multiple input lifetimes, but the function must also be a method with a