Skip to content

Commit

Permalink
BufferedWriter -> BufWriter (fixup #23060)
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Mar 6, 2015
1 parent aaaa431 commit 61c6b19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/html/render.rs
Expand Up @@ -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)));
}
Expand Down

0 comments on commit 61c6b19

Please sign in to comment.