mirror of https://github.com/rust-lang/rust.git
Update for language changes
This commit is contained in:
parent
464e375d2f
commit
63ee7bb0db
|
@ -98,7 +98,7 @@ macro_rules! bitflags(
|
||||||
}) => (
|
}) => (
|
||||||
#[deriving(Eq, TotalEq, Clone)]
|
#[deriving(Eq, TotalEq, Clone)]
|
||||||
pub struct $BitFlags {
|
pub struct $BitFlags {
|
||||||
priv bits: $T,
|
bits: $T,
|
||||||
}
|
}
|
||||||
|
|
||||||
$(pub static $Flag: $BitFlags = $BitFlags { bits: $value };)+
|
$(pub static $Flag: $BitFlags = $BitFlags { bits: $value };)+
|
||||||
|
|
Loading…
Reference in New Issue