diff --git a/docs/result.md b/docs/result.md index 81e7a788..c4e7403e 100644 --- a/docs/result.md +++ b/docs/result.md @@ -76,7 +76,6 @@ containing an error. `.and_then(...)` requires a function `F` of the type `T -> rfl::Result`. If the `rfl::Result` contains a type `T`, thenĀ `r.and_then(f)` *might* return an `rfl::Result` containing a type `U`, depending on whether `f` failed. If `r` already contained an error, then `r.and_then(f)` will surely return an `rfl::Result` containing an error. -containing an error. Throughout reflect-cpp's code, these functions are widely used by the parser. For instance, consider how we are reading `std::unique_ptr` (note that this is somewhat simplified):