std: Remove format_strbuf!()
This was only ever a transitionary macro.
This commit is contained in:
parent
24b1ce1daf
commit
42aed6bde2
104 changed files with 754 additions and 931 deletions
|
@ -578,7 +578,7 @@ fn extern_location(e: &clean::ExternalCrate, dst: &Path) -> ExternalLocation {
|
|||
if s.as_slice().ends_with("/") {
|
||||
return Remote(s.to_string());
|
||||
}
|
||||
return Remote(format_strbuf!("{}/", s));
|
||||
return Remote(format!("{}/", s));
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
|
@ -1187,12 +1187,12 @@ impl<'a> fmt::Show for Item<'a> {
|
|||
fn item_path(item: &clean::Item) -> String {
|
||||
match item.inner {
|
||||
clean::ModuleItem(..) => {
|
||||
format_strbuf!("{}/index.html", item.name.get_ref())
|
||||
format!("{}/index.html", item.name.get_ref())
|
||||
}
|
||||
_ => {
|
||||
format_strbuf!("{}.{}.html",
|
||||
shortty(item).to_static_str(),
|
||||
*item.name.get_ref())
|
||||
format!("{}.{}.html",
|
||||
shortty(item).to_static_str(),
|
||||
*item.name.get_ref())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue