Skip to content

Commit

Permalink
docs(bytes): More easily distinguish take_until from take_till
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Feb 7, 2023
1 parent 759adb1 commit 03b42c6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/bytes/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ where
}
}

/// Recognizes a pattern
/// Recognizes a literal
///
/// The input data will be compared to the tag combinator's argument and will return the part of
/// the input that matches the argument
Expand Down Expand Up @@ -106,7 +106,7 @@ where
}
}

/// Recognizes a case insensitive pattern.
/// Recognizes a case insensitive literal.
///
/// The input data will be compared to the tag combinator's argument and will return the part of
/// the input that matches the argument with no regard to case.
Expand Down Expand Up @@ -650,7 +650,7 @@ where
}
}

/// Returns the input slice up to the first occurrence of the pattern.
/// Returns the input slice up to the first occurrence of the literal.
///
/// It doesn't consume the pattern.
///
Expand Down Expand Up @@ -706,7 +706,7 @@ where
}
}

/// Returns the non empty input slice up to the first occurrence of the pattern.
/// Returns the non empty input slice up to the first occurrence of the literal.
///
/// It doesn't consume the pattern.
///
Expand Down

0 comments on commit 03b42c6

Please sign in to comment.