1
Fork 0

sed -i -s 's/#\[deriving(/#\[derive(/g' **/*.rs

This commit is contained in:
Jorge Aparicio 2015-01-03 22:54:18 -05:00
parent 8c5bb80d9b
commit 351409a622
231 changed files with 1115 additions and 1115 deletions

View file

@ -106,7 +106,7 @@ type ItemInfo = (Ident, Item_, Option<Vec<Attribute> >);
/// How to parse a path. There are four different kinds of paths, all of which
/// are parsed somewhat differently.
#[deriving(Copy, PartialEq)]
#[derive(Copy, PartialEq)]
pub enum PathParsingMode {
/// A path with no type parameters; e.g. `foo::bar::Baz`
NoTypesAllowed,
@ -119,7 +119,7 @@ pub enum PathParsingMode {
}
/// How to parse a bound, whether to allow bound modifiers such as `?`.
#[deriving(Copy, PartialEq)]
#[derive(Copy, PartialEq)]
pub enum BoundParsingMode {
Bare,
Modified,
@ -318,7 +318,7 @@ pub struct Parser<'a> {
pub expected_tokens: Vec<TokenType>,
}
#[deriving(PartialEq, Eq, Clone)]
#[derive(PartialEq, Eq, Clone)]
pub enum TokenType {
Token(token::Token),
Operator,