diff options
| author | bors <bors@rust-lang.org> | 2013-03-22 13:00:56 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-03-22 13:00:56 -0700 |
| commit | e9b077c0e94f101a3121a7d615f46366ea4080bf (patch) | |
| tree | dc19fd536559f43d6ba3fbca2a83a489c421cfe1 /src/libsyntax/parse/parser.rs | |
| parent | b6f9aa1fd75f0e9468b3bb9ee10a95d18c40b567 (diff) | |
| parent | 3eda11a4f79103a7f6d73c38e5e4f0880e26cc3c (diff) | |
| download | rust-e9b077c0e94f101a3121a7d615f46366ea4080bf.tar.gz rust-e9b077c0e94f101a3121a7d615f46366ea4080bf.zip | |
auto merge of #5488 : pcwalton/rust/depure, r=pcwalton
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 07f8c8b743b..7ee45eea0de 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -196,8 +196,8 @@ macro_rules! maybe_whole ( ) -pure fn maybe_append(+lhs: ~[attribute], rhs: Option<~[attribute]>) - -> ~[attribute] { +fn maybe_append(+lhs: ~[attribute], rhs: Option<~[attribute]>) + -> ~[attribute] { match rhs { None => lhs, Some(ref attrs) => vec::append(lhs, (*attrs)) @@ -331,7 +331,7 @@ pub impl Parser { } fn get_id(&self) -> node_id { next_node_id(self.sess) } - pure fn id_to_str(&self, id: ident) -> @~str { + fn id_to_str(&self, id: ident) -> @~str { self.sess.interner.get(id) } |
