Skip to content

Commit ea38370

Browse files
Update compiler/rustc_hir_analysis/src/check/callee.rs
Co-authored-by: nils <[email protected]>
1 parent 61cf3bf commit ea38370

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_hir_analysis/src/check

1 file changed

+1
-1
lines changed

compiler/rustc_hir_analysis/src/check/callee.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
473473
fn_sig.output()
474474
}
475475

476-
/// Attempts to reinterpret `method(rcvr, args...)` as `method.rcvr(args...)`
476+
/// Attempts to reinterpret `method(rcvr, args...)` as `rcvr.method(args...)`
477477
/// and suggesting the fix if the method probe is successful.
478478
fn suggest_call_as_method(
479479
&self,

0 commit comments

Comments
 (0)