Skip to content

Commit

Permalink
fix filter's documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Geal committed Jul 20, 2015
1 parent 184f252 commit 66b03b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,8 @@ macro_rules! is_a(
);
);

/// returns the longest list of bytes until the provided parser fails
/// returns the longest list of bytes until the provided function fails.
/// The argument is either a function `&[T] -> bool` or a macro returning a `bool`
///
/// ```
/// # #[macro_use] extern crate nom;
Expand Down

0 comments on commit 66b03b8

Please sign in to comment.