Add initial support for a new formatting syntax

The new macro is available under the name ifmt! (only an intermediate name)
This commit is contained in:
Alex Crichton 2013-07-29 01:12:41 -07:00
parent 5b4244d917
commit ffb670ffcd
16 changed files with 2258 additions and 3 deletions

View file

@ -26,7 +26,7 @@ pub struct MemWriter {
}
impl MemWriter {
pub fn new() -> MemWriter { MemWriter { buf: ~[] } }
pub fn new() -> MemWriter { MemWriter { buf: vec::with_capacity(128) } }
}
impl Writer for MemWriter {