Skip to content

Commit

Permalink
Remove duplicate bounds on generics
Browse files Browse the repository at this point in the history
This will work around rust-lang/rust#57180 (which prevents docs from building if they depend on datafrog). Thankfully they were not needed.
  • Loading branch information
lqd committed Dec 28, 2018
1 parent 1824fd9 commit a4a7a12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/treefrog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ pub(crate) mod extend_anti {
}
}

impl<'leap, Key: Ord, Val: Ord + 'leap, Tuple: Ord, Func: Fn(&Tuple) -> Key>
impl<'leap, Key: Ord, Val: Ord + 'leap, Tuple: Ord, Func>
Leaper<'leap, Tuple, Val> for ExtendAnti<'leap, Key, Val, Tuple, Func>
where
Key: Ord + 'leap,
Expand Down Expand Up @@ -589,7 +589,7 @@ pub(crate) mod filter_anti {
}
}

impl<'leap, Key: Ord, Val: Ord + 'leap, Val2, Tuple: Ord, Func: Fn(&Tuple) -> (Key, Val)>
impl<'leap, Key: Ord, Val: Ord + 'leap, Val2, Tuple: Ord, Func>
Leaper<'leap, Tuple, Val2> for FilterAnti<'leap, Key, Val, Tuple, Func>
where
Key: Ord + 'leap,
Expand Down

0 comments on commit a4a7a12

Please sign in to comment.