Skip to content

Commit 53106df

Browse files
libstd: update std::io module documentation to not mention try!
We're not using it in the examples anymore.
1 parent 9d912b6 commit 53106df

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/libstd/io/mod.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,7 @@
205205
//!
206206
//! Last, but certainly not least, is [`io::Result`]. This type is used
207207
//! as the return type of many `std::io` functions that can cause an error, and
208-
//! can be returned from your own functions as well. Many of the examples in this
209-
//! module use the [`try!`] macro:
208+
//! can be returned from your own functions as well.
210209
//!
211210
//! ```
212211
//! use std::io;
@@ -250,7 +249,6 @@
250249
//! [`println!`]: ../macro.println.html
251250
//! [`Lines`]: struct.Lines.html
252251
//! [`io::Result`]: type.Result.html
253-
//! [`try!`]: ../macro.try.html
254252
//! [`read()`]: trait.Read.html#tymethod.read
255253
256254
#![stable(feature = "rust1", since = "1.0.0")]

0 commit comments

Comments
 (0)