Skip to content

Commit 8cddffb

Browse files
chenyukangestebank
andcommitted
Update compiler/rustc_hir_typeck/src/fn_ctxt/suggestions.rs
Co-authored-by: Esteban Kuber <[email protected]>
1 parent 3d50334 commit 8cddffb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_hir_typeck/src/fn_ctxt/suggestions.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
793793
ExprKind::Path(..) | ExprKind::Lit(_) if parent_is_closure => {
794794
err.span_suggestion(
795795
expression.span.shrink_to_lo(),
796-
"consider ignore the value here",
796+
"consider ignoring the value",
797797
"_ = ",
798798
if in_external_macro(self.tcx.sess, expression.span) {
799799
Applicability::MaybeIncorrect

0 commit comments

Comments
 (0)