diff options
author | Pierre-Antoine Champin <pchampin@liris.cnrs.fr> | 2018-10-08 14:32:15 +0200 |
---|---|---|
committer | Pierre-Antoine Champin <pchampin@liris.cnrs.fr> | 2018-10-08 14:32:15 +0200 |
commit | 0200e5d4de79a667e1ad401a681aab9acbca2d9a (patch) | |
tree | d6c9a39188748438663d0a2b5243cb8561737fe2 | |
parent | d4eb9928f18e9c4e96b0c47b8452ac3d373feb0b (diff) |
fixed erroneous comment
-rw-r--r-- | src/map_x.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map_x.rs b/src/map_x.rs index a328dd1..e6a4643 100644 --- a/src/map_x.rs +++ b/src/map_x.rs @@ -4,7 +4,7 @@ // file, You can obtain one at http://mozilla.org/MPL/2.0/. // -/// Extension trait for `Iterator<Item = Result<O, E>>` to iter until an error is encountered. +/// Extension trait for `Iterator<Item = Result<O, E>>` to selectively transform Oks and Errors. pub trait MapX<O, E> : Sized { fn map_ok<F, O2>(self, F) -> MapOk<Self, F> |