1
Fork 0

std: Remove format_strbuf!()

This was only ever a transitionary macro.
This commit is contained in:
Alex Crichton 2014-05-27 20:44:58 -07:00
parent 24b1ce1daf
commit 42aed6bde2
104 changed files with 754 additions and 931 deletions

View file

@ -154,7 +154,7 @@ impl TocBuilder {
sec_number.push_str("0.");
}
let number = toc.count_entries_with_level(level);
sec_number.push_str(format_strbuf!("{}", number + 1).as_slice())
sec_number.push_str(format!("{}", number + 1).as_slice())
}
self.chain.push(TocEntry {