Skip to content

Commit

Permalink
Update clippy_lints/src/no_effect.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Takayuki Nakata <[email protected]>
  • Loading branch information
F3real and giraffate authored Oct 19, 2021
1 parent 84ae3ac commit 777e4af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/no_effect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ fn check_no_effect(cx: &LateContext<'tcx>, stmt: &'tcx Stmt<'_>) -> bool {
NO_EFFECT_UNDERSCORE_BINDING,
init.hir_id,
stmt.span,
"binding to _ prefixed variable with no side-effect"
"binding to `_` prefixed variable with no side-effect"
);
return true;
}
Expand Down

0 comments on commit 777e4af

Please sign in to comment.