regex: remove the use of ~[] & some unnecessary ~'s.
The AST doesn't need ~s everywhere, so we can save allocations this way & the enum isn't particularly large (~4 words) nor are regexes long (normally), so the space saved in the `Cat` vector is unlikely to be very much.
This commit is contained in:
parent
7a19a82d11
commit
de14a739ae
6 changed files with 89 additions and 90 deletions
|
@ -362,7 +362,7 @@
|
|||
html_root_url = "http://static.rust-lang.org/doc/master")]
|
||||
|
||||
#![feature(macro_rules, phase)]
|
||||
#![deny(missing_doc)]
|
||||
#![deny(missing_doc, deprecated_owned_vector)]
|
||||
|
||||
extern crate collections;
|
||||
#[cfg(test)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue