File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ fn main() {
55
55
// using Itertools::fold_results to create the result of parsing
56
56
let irises = DATA . lines ( )
57
57
. map ( str:: parse)
58
- . fold_results ( Vec :: new ( ) , |mut v, iris : Iris | {
58
+ . fold_ok ( Vec :: new ( ) , |mut v, iris : Iris | {
59
59
v. push ( iris) ;
60
60
v
61
61
} ) ;
Original file line number Diff line number Diff line change @@ -89,7 +89,6 @@ pub mod structs {
89
89
Batching ,
90
90
MapInto ,
91
91
MapOk ,
92
- MapResults ,
93
92
Merge ,
94
93
MergeBy ,
95
94
TakeWhileRef ,
@@ -100,7 +99,7 @@ pub mod structs {
100
99
Update ,
101
100
} ;
102
101
#[ allow( deprecated) ]
103
- pub use crate :: adaptors:: Step ;
102
+ pub use crate :: adaptors:: { MapResults , Step } ;
104
103
#[ cfg( feature = "use_std" ) ]
105
104
pub use crate :: adaptors:: MultiProduct ;
106
105
#[ cfg( feature = "use_std" ) ]
You can’t perform that action at this time.
0 commit comments