From b259a38eedfd0e510b877fffadd8b88d1bb3e071 Mon Sep 17 00:00:00 2001 From: sjwang05 <63834813+sjwang05@users.noreply.github.com> Date: Sun, 3 Dec 2023 13:40:33 -0800 Subject: [PATCH] Improve comment phrasing Co-authored-by: oliver <151407407+kwfn@users.noreply.github.com> --- .../src/traits/error_reporting/suggestions.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_trait_selection/src/traits/error_reporting/suggestions.rs b/compiler/rustc_trait_selection/src/traits/error_reporting/suggestions.rs index 8652b6e478f5..b0265454e2a9 100644 --- a/compiler/rustc_trait_selection/src/traits/error_reporting/suggestions.rs +++ b/compiler/rustc_trait_selection/src/traits/error_reporting/suggestions.rs @@ -763,7 +763,7 @@ impl<'tcx> TypeErrCtxtExt<'tcx> for TypeErrCtxt<'_, 'tcx> { { if steps > 0 { // Don't care about `&mut` because `DerefMut` is used less - // often and user will not expect autoderef happens. + // often and user will not expect that an autoderef happens. if let Some(hir::Node::Expr(hir::Expr { kind: hir::ExprKind::AddrOf(