Skip to content

Commit 0d6c0f3

Browse files
committed
Drop unsafe from refcount rule
1 parent 60cddf0 commit 0d6c0f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rules/cstring/tgt_refcount.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ fn f5(a0: Ptr<u8>, a1: i32) -> Ptr<u8> {
4646
}
4747
}
4848

49-
unsafe fn f7(a0: Ptr<u8>) -> usize {
49+
fn f7(a0: Ptr<u8>) -> usize {
5050
let mut __p = a0.clone();
5151
let mut __i: usize = 0;
5252
while __p.read() != 0 {

0 commit comments

Comments
 (0)