diff --git a/compiler/rustc_hir_analysis/src/check/callee.rs b/compiler/rustc_hir_analysis/src/check/callee.rs index a715ce5bee8b..f0a7c9109061 100644 --- a/compiler/rustc_hir_analysis/src/check/callee.rs +++ b/compiler/rustc_hir_analysis/src/check/callee.rs @@ -473,7 +473,7 @@ fn confirm_builtin_call( fn_sig.output() } - /// Attempts to reinterpret `method(rcvr, args...)` as `method.rcvr(args...)` + /// Attempts to reinterpret `method(rcvr, args...)` as `rcvr.method(args...)` /// and suggesting the fix if the method probe is successful. fn suggest_call_as_method( &self,