Skip to content

Commit

Permalink
Merge branch 'main' into new-unchecked
Browse files Browse the repository at this point in the history
  • Loading branch information
zhassan-aws committed Sep 20, 2024
2 parents d623d96 + 351e958 commit e43483e
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 e43483e

Please sign in to comment.