6.10.94-stable
Buffer
Buffer is an efficient string buffer: it allows you to create and append data to a String type.
use util;
fn main() {
var b = Buffer::new();
b.add(1);
b.add(" one ");
b.add([1, 2]);
println(b);
}
Displays 1 one [1,2]
.