From ea3837072c44aaafd4156755fde5c4b43b8f3558 Mon Sep 17 00:00:00 2001 From: Michael Goulet Date: Wed, 5 Oct 2022 10:13:47 -0700 Subject: [PATCH] Update compiler/rustc_hir_analysis/src/check/callee.rs Co-authored-by: nils <48135649+Nilstrieb@users.noreply.github.com> --- compiler/rustc_hir_analysis/src/check/callee.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_hir_analysis/src/check/callee.rs b/compiler/rustc_hir_analysis/src/check/callee.rs index a715ce5bee8..f0a7c910906 100644 --- a/compiler/rustc_hir_analysis/src/check/callee.rs +++ b/compiler/rustc_hir_analysis/src/check/callee.rs @@ -473,7 +473,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> { 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,