diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs index eba4e9fe70368..2b4644bd013f2 100644 --- a/src/libstd/io/mod.rs +++ b/src/libstd/io/mod.rs @@ -147,7 +147,7 @@ //! ``` //! //! Note that you cannot use the [`?` operator] in functions that do not return -//! a [`Result`][`Result`] (e.g. `main`). Instead, you can call [`.unwrap()`] +//! a [`Result`][`Result`]. Instead, you can call [`.unwrap()`] //! or `match` on the return value to catch any possible errors: //! //! ```no_run