Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
tautschnig committed Feb 13, 2025
1 parent 4c11cdc commit 0cf1798
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ impl GotocCtx<'_> {
)
}
// For all other assert kind we can get the static message.
AssertMessage::NullPointerDereference { .. } => {
AssertMessage::NullPointerDereference => {
(msg.description().unwrap(), PropertyClass::SafetyCheck)
}
AssertMessage::Overflow { .. }
Expand Down
2 changes: 1 addition & 1 deletion kani-compiler/src/kani_middle/transform/body.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ impl MutableBody {
Operand::Copy(Place::from(self.new_local(assert_fn.ty(), span, Mutability::Not)));
let kind = TerminatorKind::Call {
func: assert_op,
args: args,
args,
destination: Place {
local: self.new_local(Ty::new_tuple(&[]), span, Mutability::Not),
projection: vec![],
Expand Down

0 comments on commit 0cf1798

Please sign in to comment.