auto merge of #18753 : jbcrail/rust/fix-deprecated-enum-set, r=alexcrichton
I renamed the deprecated methods, resulting from the collection reform.
This commit is contained in:
commit
60820ba528
1 changed files with 2 additions and 2 deletions
|
@ -486,7 +486,7 @@ mod test {
|
|||
unsafe { mem::transmute(v) }
|
||||
}
|
||||
}
|
||||
let mut set = EnumSet::empty();
|
||||
set.add(V64);
|
||||
let mut set = EnumSet::new();
|
||||
set.insert(V64);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue