Skip to content

Commit 1400150

Browse files
lqdnikomatsakis
authored andcommitted
Fix a couple comments
1 parent b47ec4e commit 1400150

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/treefrog.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ mod extend_anti {
150150
}
151151

152152
impl<'a, Key: Ord+'a, Val: Ord+'a, Tuple: Ord, Func: Fn(&Tuple)->Key> ExtendAnti<'a, Key, Val, Tuple, Func> {
153-
/// Constructs a ExtendWith from a relation and key and value function.
153+
/// Constructs a ExtendAnti from a relation and key and value function.
154154
pub fn from(relation: &'a Relation<(Key, Val)>, key_func: Func) -> Self {
155155
ExtendAnti {
156156
relation,
@@ -195,7 +195,7 @@ mod filter_with {
195195
}
196196

197197
impl<'a, Key: Ord+'a, Val: Ord+'a, Tuple: Ord, Func: Fn(&Tuple)->(Key,Val)> FilterWith<'a, Key, Val, Tuple, Func> {
198-
/// Constructs a ExtendWith from a relation and key and value function.
198+
/// Constructs a FilterWith from a relation and key and value function.
199199
pub fn from(relation: &'a Relation<(Key, Val)>, key_func: Func) -> Self {
200200
FilterWith {
201201
relation,
@@ -236,7 +236,7 @@ mod filter_anti {
236236
}
237237

238238
impl<'a, Key: Ord+'a, Val: Ord+'a, Tuple: Ord, Func: Fn(&Tuple)->(Key,Val)> FilterAnti<'a, Key, Val, Tuple, Func> {
239-
/// Constructs a ExtendWith from a relation and key and value function.
239+
/// Constructs a FilterAnti from a relation and key and value function.
240240
pub fn from(relation: &'a Relation<(Key, Val)>, key_func: Func) -> Self {
241241
FilterAnti {
242242
relation,

0 commit comments

Comments
 (0)