Skip to content

Commit a4a7a12

Browse files
committed
Remove duplicate bounds on generics
This will work around rust-lang/rust#57180 (which prevents docs from building if they depend on datafrog). Thankfully they were not needed.
1 parent 1824fd9 commit a4a7a12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/treefrog.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ pub(crate) mod extend_anti {
439439
}
440440
}
441441

442-
impl<'leap, Key: Ord, Val: Ord + 'leap, Tuple: Ord, Func: Fn(&Tuple) -> Key>
442+
impl<'leap, Key: Ord, Val: Ord + 'leap, Tuple: Ord, Func>
443443
Leaper<'leap, Tuple, Val> for ExtendAnti<'leap, Key, Val, Tuple, Func>
444444
where
445445
Key: Ord + 'leap,
@@ -589,7 +589,7 @@ pub(crate) mod filter_anti {
589589
}
590590
}
591591

592-
impl<'leap, Key: Ord, Val: Ord + 'leap, Val2, Tuple: Ord, Func: Fn(&Tuple) -> (Key, Val)>
592+
impl<'leap, Key: Ord, Val: Ord + 'leap, Val2, Tuple: Ord, Func>
593593
Leaper<'leap, Tuple, Val2> for FilterAnti<'leap, Key, Val, Tuple, Func>
594594
where
595595
Key: Ord + 'leap,

0 commit comments

Comments
 (0)