Skip to content

Commit

Permalink
Missing formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
JustusAdam committed Dec 1, 2023
1 parent 9f3d102 commit 0573d09
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion library/kani/src/contracts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,4 +225,4 @@
//! Rust pointer type (`&T`, `&mut T`, `*const T` or `*mut T`). In addition `T`
//! must implement [`Arbitrary`](super::Arbitrary). This is used to assign
//! `kani::any()` to the location when the function is used in a `stub_verified`.
pub use super::{ensures, proof_for_contract, requires, stub_verified, modifies};
pub use super::{ensures, modifies, proof_for_contract, requires, stub_verified};
2 changes: 0 additions & 2 deletions tests/expected/function-contract/modifies/unique_arguments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,11 @@ fn two_pointers(a: &mut u32, b: &mut u32) {
*b = 2;
}


#[kani::proof_for_contract(two_pointers)]
fn test_contract() {
two_pointers(&mut kani::any(), &mut kani::any());
}


#[kani::proof]
#[kani::stub_verified(two_pointers)]
fn test_stubbing() {
Expand Down

0 comments on commit 0573d09

Please sign in to comment.