BufferedWriter -> BufWriter (fixup #23060)

This commit is contained in:
Manish Goregaokar 2015-03-06 11:03:51 +05:30
parent aaaa4310cc
commit 61c6b199bc

View File

@ -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)));
}