about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2015-07-27 22:20:37 -0400
committerSteve Klabnik <steve@steveklabnik.com>2015-07-27 22:20:37 -0400
commitad44a7fbc0a0baf615af22c5ae9282e48fc2809c (patch)
tree451e01c0d91cf0b16ae1ded20db9cc34475907a0
parentd019a49ac86322703e1daad0ebca393856185b32 (diff)
downloadrust-ad44a7fbc0a0baf615af22c5ae9282e48fc2809c.tar.gz
rust-ad44a7fbc0a0baf615af22c5ae9282e48fc2809c.zip
Remove warning header for consistency
This isn't a standard header, and the other docs don't use it, so let's remove it.
-rw-r--r--src/libstd/io/buffered.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libstd/io/buffered.rs b/src/libstd/io/buffered.rs
index c25aa35ffbe..2a835c97678 100644
--- a/src/libstd/io/buffered.rs
+++ b/src/libstd/io/buffered.rs
@@ -407,8 +407,6 @@ impl<W: Write> BufWriter<W> {
 
     /// Gets a mutable reference to the underlying writer.
     ///
-    /// # Warning
-    ///
     /// It is inadvisable to directly write to the underlying writer.
     ///
     /// # Examples
@@ -835,8 +833,6 @@ impl<S: Read + Write> BufStream<S> {
 
     /// Gets a mutable reference to the underlying stream.
     ///
-    /// # Warning
-    ///
     /// It is inadvisable to read directly from or write directly to the
     /// underlying stream.
     pub fn get_mut(&mut self) -> &mut S {