1
Fork 0

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:
bors 2014-11-11 02:11:54 +00:00
commit 60820ba528

View file

@ -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);
}
}