Tidied up the long error description
This commit is contained in:
parent
1923586286
commit
78df44655a
1 changed files with 1 additions and 4 deletions
|
|
@ -1,6 +1,5 @@
|
|||
|
||||
An underscore `_` character or a numeric literal `u8`, `i32`, `f64`, etc has
|
||||
been used as the identifier for a lifetime.
|
||||
been used as the identifier for a lifetime.
|
||||
|
||||
Erroneous code example 1:
|
||||
```
|
||||
|
|
@ -29,6 +28,4 @@ fn some_function<'a>(str1: &'a str, str2: &'a str) -> &'a str {
|
|||
//Some code
|
||||
}
|
||||
```
|
||||
|
||||
[bk-no]: https://doc.rust-lang.org/book/appendix-02-operators.html#non-operator-symbols
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue