Skip to content

Commit

Permalink
Make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
artemagvanian committed Jul 3, 2024
1 parent ed11c8e commit cb93dcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/kani_core/src/mem.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ macro_rules! kani_mem {
metadata.is_ptr_aligned(thin_ptr, Internal)
&& is_inbounds(&metadata, thin_ptr)
&& {
crate::assert(
assert!(
is_initialized(ptr, 1),
"Undefined Behavior: Reading from an uninitialized pointer",
);
Expand Down Expand Up @@ -166,7 +166,7 @@ macro_rules! kani_mem {
// does not make sense to use it inside assumption context.
is_inbounds(&metadata, thin_ptr)
&& {
crate::assert(
assert!(
is_initialized(ptr, 1),
"Undefined Behavior: Reading from an uninitialized pointer",
);
Expand Down

0 comments on commit cb93dcb

Please sign in to comment.