Skip to content

Commit 3f140ea

Browse files
committed
BufferedWriter -> BufWriter (fixup rust-lang#23060)
1 parent f6f7fd3 commit 3f140ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/render.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1228,7 +1228,7 @@ impl Context {
12281228
{
12291229
let items = this.build_sidebar_items(&m);
12301230
let js_dst = this.dst.join("sidebar-items.js");
1231-
let mut js_out = BufferedWriter::new(try!(File::create(&js_dst)));
1231+
let mut js_out = BufWriter::new(try!(File::create(&js_dst)));
12321232
try!(write!(&mut js_out, "initSidebarItems({});",
12331233
json::as_json(&items)));
12341234
}

0 commit comments

Comments
 (0)