requested changes

This commit is contained in:
Nick Sweeting 2017-03-23 13:42:39 -04:00 committed by GitHub
parent 4dc1225807
commit 53d5082a2d

View File

@ -144,7 +144,8 @@
//! # Ok(()) //! # Ok(())
//! # } //! # }
//! ``` //! ```
//! Note that you cannot use the `?` operator in functions that do not return a `Result` (e.g. `main()`). //!
//! Note that you cannot use the `?` operator in functions that do not return a `Result<T, E>` (e.g. `main`).
//! Instead, you can `match` on the return value to catch any possible errors: //! Instead, you can `match` on the return value to catch any possible errors:
//! //!
//! ``` //! ```