Skip to content

Commit 1406c19

Browse files
committed
Rollup merge of rust-lang#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.
2 parents 3c77195 + ad44a7f commit 1406c19

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/libstd/io/buffered.rs

-4
Original file line numberDiff line numberDiff line change
@@ -407,8 +407,6 @@ impl<W: Write> BufWriter<W> {
407407

408408
/// Gets a mutable reference to the underlying writer.
409409
///
410-
/// # Warning
411-
///
412410
/// It is inadvisable to directly write to the underlying writer.
413411
///
414412
/// # Examples
@@ -835,8 +833,6 @@ impl<S: Read + Write> BufStream<S> {
835833

836834
/// Gets a mutable reference to the underlying stream.
837835
///
838-
/// # Warning
839-
///
840836
/// It is inadvisable to read directly from or write directly to the
841837
/// underlying stream.
842838
pub fn get_mut(&mut self) -> &mut S {

0 commit comments

Comments
 (0)