X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=compiler%2Frustc_typeck%2Fsrc%2Fcheck%2Fmethod%2Fprelude2021.rs;h=a2f1f5692c731b3cea2548e7c58c3fc18106a70c;hb=05d22212e89588e7c443cc6b9bc0e4e02fdfbc8d;hp=dbc4adfb0a3cf7df71fab58b57b96ff0df5bb077;hpb=c738243bd3750abf06d3e5ac8db0427963e83206;p=rust.git diff --git a/compiler/rustc_typeck/src/check/method/prelude2021.rs b/compiler/rustc_typeck/src/check/method/prelude2021.rs index dbc4adfb0a3..a2f1f5692c7 100644 --- a/compiler/rustc_typeck/src/check/method/prelude2021.rs +++ b/compiler/rustc_typeck/src/check/method/prelude2021.rs @@ -379,7 +379,7 @@ fn trait_path(&self, span: Span, expr_hir_id: HirId, trait_def_id: DefId) -> Opt } /// Creates a string version of the `expr` that includes explicit adjustments. - /// Returns the string and also a bool indicating whther this is a *precise* + /// Returns the string and also a bool indicating whether this is a *precise* /// suggestion. fn adjust_expr( &self,