diff options
| author | Aaron Turon <aturon@mozilla.com> | 2015-02-17 23:44:55 -0800 |
|---|---|---|
| committer | Alexis <a.beingessner@gmail.com> | 2015-02-18 14:01:46 -0500 |
| commit | 5fa9de16df87ab844452821acff1b6c74e948327 (patch) | |
| tree | c4f4c06960f557277c07457b14bf61f8861ba8e2 /src/libsyntax | |
| parent | dfc5c0f1e8799f47f9033bdcc8a7cd8a217620a5 (diff) | |
| download | rust-5fa9de16df87ab844452821acff1b6c74e948327.tar.gz rust-5fa9de16df87ab844452821acff1b6c74e948327.zip | |
Implement RFC 580
This commit implements RFC 580 by renaming: * DList -> LinkedList * Bitv -> BitVec * BitvSet -> BitSet * RingBuf -> VecDeque More details are in [the RFC](https://github.com/rust-lang/rfcs/pull/580) [breaking-change]
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/attr.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/attr.rs b/src/libsyntax/attr.rs index a3afe5780d0..56efa5e0c93 100644 --- a/src/libsyntax/attr.rs +++ b/src/libsyntax/attr.rs @@ -26,11 +26,11 @@ use parse::token; use ptr::P; use std::cell::{RefCell, Cell}; -use std::collections::BitvSet; +use std::collections::BitSet; use std::collections::HashSet; use std::fmt; -thread_local! { static USED_ATTRS: RefCell<BitvSet> = RefCell::new(BitvSet::new()) } +thread_local! { static USED_ATTRS: RefCell<BitSet> = RefCell::new(BitSet::new()) } pub fn mark_used(attr: &Attribute) { let AttrId(id) = attr.node.id; |
