Rename deprecated EnumSet methods in unit tests.
This commit is contained in:
parent
6ee56c9a5f
commit
e15a3903e0
@ -426,7 +426,7 @@ mod test {
|
||||
unsafe { mem::transmute(v) }
|
||||
}
|
||||
}
|
||||
let mut set = EnumSet::empty();
|
||||
set.add(V64);
|
||||
let mut set = EnumSet::new();
|
||||
set.insert(V64);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user