Skip to content

Commit fa2d617

Browse files
committed
Fix flat_option->flatten merge 😬
1 parent a7d81f7 commit fa2d617

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎vm/src/stdlib/itertools.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ mod decl {
558558

559559
PyItertoolsGroupBy {
560560
iterable: iter,
561-
key_func: args.key.flat_option(),
561+
key_func: args.key.flatten(),
562562
state: PyMutex::new(GroupByState {
563563
current_key: None,
564564
current_value: None,

0 commit comments

Comments
 (0)