about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/build/scope.rs
diff options
context:
space:
mode:
authoromahs <73983677+omahs@users.noreply.github.com>2024-03-17 14:25:24 +0100
committerGitHub <noreply@github.com>2024-03-17 14:25:24 +0100
commit758f642c29043630fd987afd74b008fa9c49a51d (patch)
tree839bb5e56031795bfd4d0086cd0e5ace806d4897 /compiler/rustc_mir_build/src/build/scope.rs
parent96e3c2c1acbb711c9b936b558d6a0232a7aca626 (diff)
downloadrust-758f642c29043630fd987afd74b008fa9c49a51d.tar.gz
rust-758f642c29043630fd987afd74b008fa9c49a51d.zip
fix typo
Diffstat (limited to 'compiler/rustc_mir_build/src/build/scope.rs')
-rw-r--r--compiler/rustc_mir_build/src/build/scope.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_build/src/build/scope.rs b/compiler/rustc_mir_build/src/build/scope.rs
index 88ac05cabb6..aef63896dde 100644
--- a/compiler/rustc_mir_build/src/build/scope.rs
+++ b/compiler/rustc_mir_build/src/build/scope.rs
@@ -774,7 +774,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
         let (current_root, parent_root) =
             if self.tcx.sess.opts.unstable_opts.maximal_hir_to_mir_coverage {
                 // Some consumers of rustc need to map MIR locations back to HIR nodes. Currently
-                // the the only part of rustc that tracks MIR -> HIR is the
+                // the only part of rustc that tracks MIR -> HIR is the
                 // `SourceScopeLocalData::lint_root` field that tracks lint levels for MIR
                 // locations. Normally the number of source scopes is limited to the set of nodes
                 // with lint annotations. The -Zmaximal-hir-to-mir-coverage flag changes this