Remove unnecessary mut

This commit is contained in:
Stjepan Glavina 2019-01-14 12:23:50 +01:00
parent e449f3d629
commit 7c083a8fed
1 changed files with 1 additions and 1 deletions

View File

@ -1909,7 +1909,7 @@ fn test_once() {
#[test]
fn test_once_with() {
let mut count = Cell::new(0);
let count = Cell::new(0);
let mut it = once_with(|| {
count.set(count.get() + 1);
42