about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorUtkarsh Kukreti <utkarshkukreti@gmail.com>2016-12-28 14:39:41 +0530
committerUtkarsh Kukreti <utkarshkukreti@gmail.com>2017-01-22 21:07:38 +0530
commit53106df8965d4c7f91f5063d60db09e1ffad3c13 (patch)
tree593b580d9c11ee15079949f644b92a2e86fff2ff /src/libstd
parent9d912b683a5b7eaf47b459f1335250ed86b1bade (diff)
downloadrust-53106df8965d4c7f91f5063d60db09e1ffad3c13.tar.gz
rust-53106df8965d4c7f91f5063d60db09e1ffad3c13.zip
libstd: update std::io module documentation to not mention `try!`
We're not using it in the examples anymore.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/io/mod.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs
index 44da45a46f4..a92b8c1a751 100644
--- a/src/libstd/io/mod.rs
+++ b/src/libstd/io/mod.rs
@@ -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")]