diff options
| author | Michael Goulet <michael@errs.io> | 2022-10-05 10:13:47 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-05 10:13:47 -0700 |
| commit | ea3837072c44aaafd4156755fde5c4b43b8f3558 (patch) | |
| tree | 2add58f49cde12ac2db4a278715555a3b2e9c8c3 | |
| parent | 61cf3bfaf68bd216f697582cd803550cede0f170 (diff) | |
| download | rust-ea3837072c44aaafd4156755fde5c4b43b8f3558.tar.gz rust-ea3837072c44aaafd4156755fde5c4b43b8f3558.zip | |
Update compiler/rustc_hir_analysis/src/check/callee.rs
Co-authored-by: nils <48135649+Nilstrieb@users.noreply.github.com>
| -rw-r--r-- | compiler/rustc_hir_analysis/src/check/callee.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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, |
