Skip to content

Commit

Permalink
Fix a couple comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lqd committed Oct 2, 2018
1 parent b853279 commit 7ce8cec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/treefrog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ mod extend_anti {
}

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

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

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

0 comments on commit 7ce8cec

Please sign in to comment.