]> git.lizzy.rs Git - rust.git/commit
Don't allocate a string when calling println
authorAlex Crichton <alex@alexcrichton.com>
Sun, 20 Oct 2013 22:42:24 +0000 (15:42 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Sun, 20 Oct 2013 22:42:24 +0000 (15:42 -0700)
commitdf6225b8c3c981a686e5590dc59a7a5865476862
treed33009f2ba3d901e4590fb001b722cb205d69df5
parent69860b79b8f4882426fb5755c6d00e6717adeb38
Don't allocate a string when calling println

Instead use format_args! to pass around a struct to pass along into std::fmt
src/libstd/rt/io/stdio.rs
src/libsyntax/ext/expand.rs