Skip to content

Commit

Permalink
Improve wording in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Feb 2, 2024
1 parent a52a7d2 commit 2b6ab47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/fj-core/src/storage/handle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ impl<T> Deref for Handle<T> {
// which I've run successfully under Miri.
let slot = unsafe { &*self.ptr };

// Can only panic, if the object has been reserved, but the reservation
// was never completed.
// Can only panic, if the object was reserved, but the reservation has
// never been completed.
slot.as_ref()
.expect("Handle references non-existing object")
}
Expand Down

0 comments on commit 2b6ab47

Please sign in to comment.