Skip to content

Commit

Permalink
auto merge of rust-lang#18753 : jbcrail/rust/fix-deprecated-enum-set,…
Browse files Browse the repository at this point in the history
… r=alexcrichton

I renamed the deprecated methods, resulting from the collection reform.
  • Loading branch information
bors committed Nov 11, 2014
2 parents 40fb87d + e15a390 commit 60820ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libcollections/enum_set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 60820ba

Please sign in to comment.