]> git.lizzy.rs Git - rust.git/commitdiff
wording: results don't fail
authorPhilipp Matthias Schäfer <philipp.matthias.schaefer@posteo.de>
Mon, 23 Nov 2015 08:39:58 +0000 (09:39 +0100)
committerPhilipp Matthias Schäfer <philipp.matthias.schaefer@posteo.de>
Mon, 23 Nov 2015 08:39:58 +0000 (09:39 +0100)
src/doc/book/error-handling.md

index 52a4e7324ee56190ca5ac2931b238148babafee9..600019bcceb0acff928d1267408554b82d9ff5f8 100644 (file)
@@ -405,7 +405,7 @@ enum Result<T, E> {
 
 The `Result` type is a richer version of `Option`. Instead of expressing the
 possibility of *absence* like `Option` does, `Result` expresses the possibility
-of *error*. Usually, the *error* is used to explain why the result of some
+of *error*. Usually, the *error* is used to explain why the execution of some
 computation failed. This is a strictly more general form of `Option`. Consider
 the following type alias, which is semantically equivalent to the real
 `Option<T>` in every way: