Skip to content

Commit

Permalink
Update replace.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
pi314mm authored Jul 10, 2024
1 parent 0bd765e commit e038b0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/kani_macros/src/sysroot/contracts/replace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ fn is_replace_return_havoc(stmt: &syn::Stmt) -> bool {
})
if path.segments.len() == 2
&& path.segments[0].ident == "kani"
&& path.segments[2].ident == "any_modifies"
&& path.segments[1].ident == "any_modifies"
&& attrs.is_empty()
)
)
Expand Down

0 comments on commit e038b0f

Please sign in to comment.