提交 61c6b199 编写于 作者: M Manish Goregaokar

BufferedWriter -> BufWriter (fixup #23060)

上级 aaaa4310
......@@ -1228,7 +1228,7 @@ fn render(w: File, cx: &Context, it: &clean::Item,
{
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)));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册