about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2015-07-29 10:30:35 -0400
committerSteve Klabnik <steve@steveklabnik.com>2015-07-29 10:30:35 -0400
commit1406c196fd3b46d6f5f21df23fe3fc821063b96d (patch)
tree394b9b872ca68a70ee814be3a7a92a2284af5c9f /src/libstd
parent3c7719580c11a9165866ce29cffbd3b2b870cc27 (diff)
parentad44a7fbc0a0baf615af22c5ae9282e48fc2809c (diff)
downloadrust-1406c196fd3b46d6f5f21df23fe3fc821063b96d.tar.gz
rust-1406c196fd3b46d6f5f21df23fe3fc821063b96d.zip
Rollup merge of #27341 - steveklabnik:remove_warning, r=alexcrichton
This isn't a standard header, and the other docs don't use it, so let's remove it.
Diffstat (limited to 'src/libstd')
-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 29d1fe19adf..eca6ffc8ce3 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 {