Remove every mention of "onceness".
This commit is contained in:
parent
50a370aa2d
commit
e0afa82c67
8 changed files with 6 additions and 66 deletions
|
@ -35,7 +35,6 @@ pub use self::MacStmtStyle::*;
|
|||
pub use self::MetaItem_::*;
|
||||
pub use self::Method_::*;
|
||||
pub use self::Mutability::*;
|
||||
pub use self::Onceness::*;
|
||||
pub use self::Pat_::*;
|
||||
pub use self::PathListItem_::*;
|
||||
pub use self::PatWildKind::*;
|
||||
|
@ -1222,21 +1221,6 @@ pub enum PrimTy {
|
|||
TyChar
|
||||
}
|
||||
|
||||
#[derive(Clone, PartialEq, Eq, RustcEncodable, RustcDecodable, Hash, Copy, Show)]
|
||||
pub enum Onceness {
|
||||
Once,
|
||||
Many
|
||||
}
|
||||
|
||||
impl fmt::Display for Onceness {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
fmt::Display::fmt(match *self {
|
||||
Once => "once",
|
||||
Many => "many",
|
||||
}, f)
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, PartialEq, Eq, RustcEncodable, RustcDecodable, Hash, Show)]
|
||||
pub struct BareFnTy {
|
||||
pub unsafety: Unsafety,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue