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:
parent
5b4244d917
commit
ffb670ffcd
16 changed files with 2258 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue