Skip to content

Commit b259a38

Browse files
sjwang05oliver
and
oliver
authored
Improve comment phrasing
Co-authored-by: oliver <[email protected]>
1 parent 32d7890 commit b259a38

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_trait_selection/src/traits/error_reporting

1 file changed

+1
-1
lines changed

compiler/rustc_trait_selection/src/traits/error_reporting/suggestions.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ impl<'tcx> TypeErrCtxtExt<'tcx> for TypeErrCtxt<'_, 'tcx> {
763763
{
764764
if steps > 0 {
765765
// Don't care about `&mut` because `DerefMut` is used less
766-
// often and user will not expect autoderef happens.
766+
// often and user will not expect that an autoderef happens.
767767
if let Some(hir::Node::Expr(hir::Expr {
768768
kind:
769769
hir::ExprKind::AddrOf(

0 commit comments

Comments
 (0)