Skip to content

Commit

Permalink
Update expected rc
Browse files Browse the repository at this point in the history
  • Loading branch information
jfecher committed Dec 11, 2024
1 parent d20cde8 commit e2c72b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::mem::array_refcount;

fn main() {
let mut array = [0, 1, 2];
assert_refcount(array, 1);
assert_refcount(array, 2);

borrow(array, array_refcount(array));
borrow_mut(&mut array, array_refcount(array));
Expand Down

0 comments on commit e2c72b9

Please sign in to comment.