Skip to content

Commit

Permalink
Merge pull request #1060 from dewert99/ghostptrtoken-resolve
Browse files Browse the repository at this point in the history
Add a `?Sized` bound for `GhostPtrToken: Resolve`
  • Loading branch information
dewert99 authored Aug 6, 2024
2 parents 843e41e + 080a943 commit d7e2eef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion creusot-contracts/src/ghost_ptr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ impl<'a, T: ?Sized> DerefMut for GhostPtrTokenMut<'a, T> {
}

#[trusted]
impl<'a, T> Resolve for GhostPtrTokenMut<'a, T> {
impl<'a, T: ?Sized> Resolve for GhostPtrTokenMut<'a, T> {
#[predicate(prophetic)]
#[open]
fn resolve(self) -> bool {
Expand Down

0 comments on commit d7e2eef

Please sign in to comment.