diff options
| author | John Turner <jturner.usa@gmail.com> | 2025-10-29 12:58:51 +0000 |
|---|---|---|
| committer | John Turner <jturner.usa@gmail.com> | 2025-10-29 12:58:51 +0000 |
| commit | c88c00d086f69083f86cb00b1db1b283efc1a8df (patch) | |
| tree | d14e1d810c217a658428ed99ac594ccae92a42f3 | |
| parent | 1a4d671f51cc062f506a0cc9fa2563503eb93880 (diff) | |
| download | mon-c88c00d086f69083f86cb00b1db1b283efc1a8df.tar.gz | |
impl any parser
| -rw-r--r-- | src/lib.rs | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -923,6 +923,13 @@ where r#if(|c: &I::Item| c.is_whitespace()).list(1..).recognize() } +pub fn any<I>() -> impl Parser<I, Output = I::Item> +where + I: Input, +{ + r#if(|_| true) +} + pub mod str { use super::*; |
