]> git.lizzy.rs Git - rust.git/commitdiff
libstd: mention `?` operator instead of removing `try!` macro reference
authorUtkarsh Kukreti <utkarshkukreti@gmail.com>
Thu, 29 Dec 2016 08:42:14 +0000 (14:12 +0530)
committerUtkarsh Kukreti <utkarshkukreti@gmail.com>
Sun, 22 Jan 2017 15:37:38 +0000 (21:07 +0530)
src/libstd/io/mod.rs

index a92b8c1a751a68ddc21ce39074896573d61ed453..de5fc5bfad13761297fb0af88c96737c020e99f6 100644 (file)
 //!
 //! 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.
+//! can be returned from your own functions as well. Many of the examples in this
+//! module use the [`?` operator]:
 //!
 //! ```
 //! use std::io;
 //! [`println!`]: ../macro.println.html
 //! [`Lines`]: struct.Lines.html
 //! [`io::Result`]: type.Result.html
+//! [`?` operator]: ../../book/syntax-index.html
 //! [`read()`]: trait.Read.html#tymethod.read
 
 #![stable(feature = "rust1", since = "1.0.0")]