diff options
| author | Ralf Jung <post@ralfj.de> | 2022-11-25 08:47:59 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2022-11-25 08:52:06 +0100 |
| commit | 6ed4f15940d94d290e23bb72df92c2fb73e8fbdc (patch) | |
| tree | 5eb9d6a79118d0a0c9930017e6e9147535a60283 /src/tools/clippy/clippy_utils | |
| parent | a78c9bee4d9d51a3891bd8ecae1f28a93b83653b (diff) | |
| download | rust-6ed4f15940d94d290e23bb72df92c2fb73e8fbdc.tar.gz rust-6ed4f15940d94d290e23bb72df92c2fb73e8fbdc.zip | |
RefCell::get_mut: fix typo
and fix the same typo in a bunch of other places
Diffstat (limited to 'src/tools/clippy/clippy_utils')
| -rw-r--r-- | src/tools/clippy/clippy_utils/src/hir_utils.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/clippy/clippy_utils/src/hir_utils.rs b/src/tools/clippy/clippy_utils/src/hir_utils.rs index cf24ec8b67b..abe10f3c81e 100644 --- a/src/tools/clippy/clippy_utils/src/hir_utils.rs +++ b/src/tools/clippy/clippy_utils/src/hir_utils.rs @@ -113,7 +113,7 @@ impl HirEqInterExpr<'_, '_, '_> { } } - // eq_pat adds the HirIds to the locals map. We therefor call it last to make sure that + // eq_pat adds the HirIds to the locals map. We therefore call it last to make sure that // these only get added if the init and type is equal. both(&l.init, &r.init, |l, r| self.eq_expr(l, r)) && both(&l.ty, &r.ty, |l, r| self.eq_ty(l, r)) |
