Skip to content

Commit 0f4abbf

Browse files
author
Daniel Smith
committed
Better naming post copy/paste
1 parent 070a751 commit 0f4abbf

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/ui/await_holding_refcell_ref.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ fn block_bad(x: &RefCell<u32>) -> impl std::future::Future<Output = u32> + '_ {
6161
}
6262

6363
fn main() {
64-
let m = RefCell::new(100);
65-
good(&m);
66-
bad(&m);
67-
bad_mut(&m);
68-
also_bad(&m);
69-
not_good(&m);
70-
block_bad(&m);
64+
let rc = RefCell::new(100);
65+
good(&rc);
66+
bad(&rc);
67+
bad_mut(&rc);
68+
also_bad(&rc);
69+
not_good(&rc);
70+
block_bad(&rc);
7171
}

0 commit comments

Comments
 (0)