We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 90c921e + 0b9c686 commit cca43a7Copy full SHA for cca43a7
src/libstd/io/mod.rs
@@ -147,7 +147,7 @@
147
//! ```
148
//!
149
//! Note that you cannot use the [`?` operator] in functions that do not return
150
-//! a [`Result<T, E>`][`Result`] (e.g. `main`). Instead, you can call [`.unwrap()`]
+//! a [`Result<T, E>`][`Result`]. Instead, you can call [`.unwrap()`]
151
//! or `match` on the return value to catch any possible errors:
152
153
//! ```no_run
0 commit comments