about summary refs log tree commit diff
path: root/compiler/rustc_resolve
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-03-17 22:55:05 +0100
committerGitHub <noreply@github.com>2022-03-17 22:55:05 +0100
commit270a41c33e6282933ddb3ef405e7089f3e92ea07 (patch)
tree10e040ee5d3aabbc8956cf3ca61fdc7388b79e6a /compiler/rustc_resolve
parent5eb3433ed5201c6180e6bee26c3156fea4b174f0 (diff)
parent01dbfb3eb264135c432cef223848416f90dac290 (diff)
downloadrust-270a41c33e6282933ddb3ef405e7089f3e92ea07.tar.gz
rust-270a41c33e6282933ddb3ef405e7089f3e92ea07.zip
Rollup merge of #94960 - codehorseman:master, r=oli-obk
Fix many spelling mistakes

Signed-off-by: codehorseman <cricis@yeah.net>
Diffstat (limited to 'compiler/rustc_resolve')
-rw-r--r--compiler/rustc_resolve/src/late/lifetimes.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/src/late/lifetimes.rs b/compiler/rustc_resolve/src/late/lifetimes.rs
index 7e743481a51..ecdbe12c9ab 100644
--- a/compiler/rustc_resolve/src/late/lifetimes.rs
+++ b/compiler/rustc_resolve/src/late/lifetimes.rs
@@ -2002,7 +2002,7 @@ impl<'a, 'tcx> LifetimeContext<'a, 'tcx> {
                                     if !matches!(opaque.origin, hir::OpaqueTyOrigin::AsyncFn(..)) {
                                         continue 'lifetimes;
                                     }
-                                    // We want to do this only if the liftime identifier is already defined
+                                    // We want to do this only if the lifetime identifier is already defined
                                     // in the async function that generated this. Otherwise it could be
                                     // an opaque type defined by the developer and we still want this
                                     // lint to fail compilation