BufferedWriter -> BufWriter (fixup #23060)
This commit is contained in:
parent
aaaa4310cc
commit
61c6b199bc
@ -1228,7 +1228,7 @@ impl Context {
|
||||
{
|
||||
let items = this.build_sidebar_items(&m);
|
||||
let js_dst = this.dst.join("sidebar-items.js");
|
||||
let mut js_out = BufferedWriter::new(try!(File::create(&js_dst)));
|
||||
let mut js_out = BufWriter::new(try!(File::create(&js_dst)));
|
||||
try!(write!(&mut js_out, "initSidebarItems({});",
|
||||
json::as_json(&items)));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user