Skip to content

Commit 3f1c7fe

Browse files
committed
Clone path in refcount conversion rule
1 parent 29b0c71 commit 3f1c7fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎rules/fs_path/tgt_refcount.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ fn f1(a0: Ptr<i8>) -> Vec<i8> {
1515
}
1616

1717
fn f2(a0: Vec<i8>) -> Vec<i8> {
18-
a0
18+
a0.clone()
1919
}

0 commit comments

Comments
 (0)