rustc --explain E0726 - grammar fixing (it's => its + add a the
where it felt right to do so)
This commit is contained in:
parent
333b920fee
commit
b2acf3ea64
@ -25,8 +25,8 @@ block_on(future);
|
|||||||
|
|
||||||
Specify desired lifetime of parameter `content` or indicate the anonymous
|
Specify desired lifetime of parameter `content` or indicate the anonymous
|
||||||
lifetime like `content: Content<'_>`. The anonymous lifetime tells the Rust
|
lifetime like `content: Content<'_>`. The anonymous lifetime tells the Rust
|
||||||
compiler that `content` is only needed until create function is done with
|
compiler that `content` is only needed until the create function is done with
|
||||||
it's execution.
|
its execution.
|
||||||
|
|
||||||
The `implicit elision` meaning the omission of suggested lifetime that is
|
The `implicit elision` meaning the omission of suggested lifetime that is
|
||||||
`pub async fn create<'a>(content: Content<'a>) {}` is not allowed here as
|
`pub async fn create<'a>(content: Content<'a>) {}` is not allowed here as
|
||||||
|
Loading…
x
Reference in New Issue
Block a user