diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2023-05-07 14:12:16 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-07 14:12:16 +0900 |
| commit | 4e4e5bf17d6f7ed6876b4172a634d61c86e02e8c (patch) | |
| tree | e101c14bb3d73c297cdf6dd87c3d9441ba97234f | |
| parent | 61115cd75344598d91023dd5fe4aa855cc276db3 (diff) | |
| parent | d6ef6e0080848e710c8dc655041dbd5ccaa9f3c1 (diff) | |
| download | rust-4e4e5bf17d6f7ed6876b4172a634d61c86e02e8c.tar.gz rust-4e4e5bf17d6f7ed6876b4172a634d61c86e02e8c.zip | |
Rollup merge of #111293 - Astroide:patch-1, r=compiler-errors
rustc --explain E0726 - grammar fixing (it's => its + add a `the` where it felt right to do so) Very small fix
| -rw-r--r-- | compiler/rustc_error_codes/src/error_codes/E0726.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_error_codes/src/error_codes/E0726.md b/compiler/rustc_error_codes/src/error_codes/E0726.md index e3794327f2d..a721e746ecd 100644 --- a/compiler/rustc_error_codes/src/error_codes/E0726.md +++ b/compiler/rustc_error_codes/src/error_codes/E0726.md @@ -25,8 +25,8 @@ block_on(future); Specify desired lifetime of parameter `content` or indicate the anonymous lifetime like `content: Content<'_>`. The anonymous lifetime tells the Rust -compiler that `content` is only needed until create function is done with -it's execution. +compiler that `content` is only needed until the `create` function is done with +its execution. The `implicit elision` meaning the omission of suggested lifetime that is `pub async fn create<'a>(content: Content<'a>) {}` is not allowed here as |
