diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/atom/parsers.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/atom/parsers.rs b/src/atom/parsers.rs index 60f9223..fd212cd 100644 --- a/src/atom/parsers.rs +++ b/src/atom/parsers.rs @@ -40,10 +40,7 @@ impl<'a> Parseable<'a, &'a str> for VersionNumber { type Parser = impl Parser<&'a str, Output = Self>; fn parser() -> Self::Parser { - numeric1() - .followed_by(tag("*").opt()) - .recognize() - .map(|output: &str| VersionNumber(output.to_string())) + numeric1().map(|output: &str| VersionNumber(output.to_string())) } } |
