libstd: update std::io module documentation to not mention try!

We're not using it in the examples anymore.
This commit is contained in:
Utkarsh Kukreti
2016-12-28 14:39:41 +05:30
parent 9d912b683a
commit 53106df896
+1 -3
View File
@@ -205,8 +205,7 @@
//!
//! Last, but certainly not least, is [`io::Result`]. This type is used
//! as the return type of many `std::io` functions that can cause an error, and
//! can be returned from your own functions as well. Many of the examples in this
//! module use the [`try!`] macro:
//! can be returned from your own functions as well.
//!
//! ```
//! use std::io;
@@ -250,7 +249,6 @@
//! [`println!`]: ../macro.println.html
//! [`Lines`]: struct.Lines.html
//! [`io::Result`]: type.Result.html
//! [`try!`]: ../macro.try.html
//! [`read()`]: trait.Read.html#tymethod.read
#![stable(feature = "rust1", since = "1.0.0")]