Skip to content

Commit

Permalink
unit_arg suggestion may be incorrect
Browse files Browse the repository at this point in the history
  • Loading branch information
sinkuu committed Apr 17, 2020
1 parent eb9c15a commit 162cf26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for UnitArg {
"passing a unit value to a function",
"if you intended to pass a unit value, use a unit literal instead",
"()".to_string(),
Applicability::MachineApplicable,
Applicability::MaybeIncorrect,
);
}
}
Expand Down

0 comments on commit 162cf26

Please sign in to comment.