about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-03-06 11:03:51 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-03-06 22:22:39 +0530
commit61c6b199bcc23fe931f3fda2f968442256e07dab (patch)
tree2f36aa617285b98a6980fb449b4dfe20bd21fdc5
parentaaaa4310cc30650a517827fefb8208b13d017ea0 (diff)
downloadrust-61c6b199bcc23fe931f3fda2f968442256e07dab.tar.gz
rust-61c6b199bcc23fe931f3fda2f968442256e07dab.zip
BufferedWriter -> BufWriter (fixup #23060)
-rw-r--r--src/librustdoc/html/render.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/render.rs b/src/librustdoc/html/render.rs
index 4af6a6d229f..2578912127e 100644
--- a/src/librustdoc/html/render.rs
+++ b/src/librustdoc/html/render.rs
@@ -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)));
                     }