Skip to content

Commit

Permalink
Remove warning header for consistency
Browse files Browse the repository at this point in the history
This isn't a standard header, and the other docs don't use it, so let's remove it.
  • Loading branch information
steveklabnik committed Jul 28, 2015
1 parent d019a49 commit ad44a7f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/libstd/io/buffered.rs
Expand Up @@ -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
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit ad44a7f

Please sign in to comment.