Skip to content

Commit

Permalink
Merge branch 'main' into invariant
Browse files Browse the repository at this point in the history
  • Loading branch information
carolynzech authored Sep 19, 2024
2 parents 51a0cbc + 351e958 commit 31f405e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/core/src/ptr/unique.rs
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,8 @@ mod verify {
}

// pub const fn cast<U>(self) -> Unique<U>
#[kani::proof_for_contract(Unique::cast<U>)]
pub fn check_cast<U>() {
#[kani::proof]
pub fn check_cast() {
let mut x : i32 = kani::any();
let xptr = &mut x;
unsafe {
Expand Down

0 comments on commit 31f405e

Please sign in to comment.