Skip to content

Commit e0e6e83

Browse files
authored
Fix typo in comment ('contact' -> 'contract') (model-checking#352)
I was grepping for contract and this one didn't match because of the typo. Minor comment-only change. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.
1 parent 00f2f8d commit e0e6e83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/ptr/const_ptr.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2614,7 +2614,7 @@ mod verify {
26142614
gen_const_byte_arith_harness_for_dyn!(byte_sub, check_const_byte_sub_dyn);
26152615
gen_const_byte_arith_harness_for_dyn!(byte_offset, check_const_byte_offset_dyn);
26162616

2617-
// Proof for contact of byte_offset_from to verify unit type
2617+
// Proof for contract of byte_offset_from to verify unit type
26182618
#[kani::proof_for_contract(<*const ()>::byte_offset_from)]
26192619
pub fn check_const_byte_offset_from_unit() {
26202620
let val: () = ();

0 commit comments

Comments
 (0)