Skip to content

Commit ac1b87e

Browse files
authored
Merge pull request #24 from lqd/peak_performance
Work around rustdoc ICE, and fix a doc link
2 parents 1824fd9 + c479def commit ac1b87e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ impl<Tuple: Ord> Relation<Tuple> {
115115
}
116116

117117
/// Creates a `Relation` using the `leapjoin` logic;
118-
/// see [`Variable::leapjoin`]
118+
/// see [`Variable::from_leapjoin`]
119119
pub fn from_leapjoin<'leap, SourceTuple: Ord, Val: Ord + 'leap>(
120120
source: &Relation<SourceTuple>,
121121
leapers: impl Leapers<'leap, SourceTuple, Val>,

src/treefrog.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -439,8 +439,8 @@ pub(crate) mod extend_anti {
439439
}
440440
}
441441

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

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

0 commit comments

Comments
 (0)