1
Fork 0

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:
Huon Wilson 2014-04-30 00:05:59 +10:00
parent 7a19a82d11
commit de14a739ae
6 changed files with 89 additions and 90 deletions

View file

@ -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)]