Skip to content

Commit 797b38e

Browse files
fix typo
1 parent b24e668 commit 797b38e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/ffi/c_str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@ mod verify {
889889
kani::assume(forall!(|i in (0,len-1)| unsafe {*slice.as_ptr().wrapping_add(i)} != 0));
890890
let ptr = slice.as_ptr() as *const c_char;
891891
unsafe {
892-
CStr::from_ptr(ptr);
892+
CStr::from_ptr(ptr)
893893
}
894894
}
895895

0 commit comments

Comments
 (0)