File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -352,16 +352,18 @@ impl<I: Index> Infinitree<I> {
352
352
let object = self . object_reader ( ) ?;
353
353
let commits_for_field = self . field_for_version ( & field. name ) ;
354
354
355
- Ok ( <Q as Collection >:: Depth :: resolve ( index, commits_for_field)
356
- . map ( move |transaction| {
357
- QueryIteratorOwned :: new (
358
- transaction,
359
- object. clone ( ) ,
360
- pred. clone ( ) ,
361
- field. strategy . as_mut ( ) ,
362
- )
363
- } )
364
- . flatten ( ) )
355
+ Ok (
356
+ <Q as Collection >:: Depth :: resolve ( index, commits_for_field) . flat_map (
357
+ move |transaction| {
358
+ QueryIteratorOwned :: new (
359
+ transaction,
360
+ object. clone ( ) ,
361
+ pred. clone ( ) ,
362
+ field. strategy . as_mut ( ) ,
363
+ )
364
+ } ,
365
+ ) ,
366
+ )
365
367
}
366
368
367
369
fn store_start_object ( & self , _name : & str ) -> ObjectId {
You can’t perform that action at this time.
0 commit comments