diff options
| author | Eduard Burtescu <edy.burt@gmail.com> | 2015-01-24 22:13:24 +0200 |
|---|---|---|
| committer | Eduard Burtescu <edy.burt@gmail.com> | 2015-01-26 04:15:09 +0200 |
| commit | e0afa82c67813f6ddb0526e130c1524cf52c61e7 (patch) | |
| tree | 06a1cdfb8ae753f35f9b2123d3c1e0d74c48b097 /src/libsyntax | |
| parent | 50a370aa2d98ea2f50153a3007734f8d6fb473e0 (diff) | |
| download | rust-e0afa82c67813f6ddb0526e130c1524cf52c61e7.tar.gz rust-e0afa82c67813f6ddb0526e130c1524cf52c61e7.zip | |
Remove every mention of "onceness".
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ast.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index 233197ccb5b..4f6cd8ad356 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -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, |
