diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/atom/parsers.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/atom/parsers.rs b/src/atom/parsers.rs index 0d29d2c..0272be1 100644 --- a/src/atom/parsers.rs +++ b/src/atom/parsers.rs @@ -247,6 +247,11 @@ impl<'a> Parseable<'a, &'a str> for Repo { start .and(rest) .recognize() + .verify_output(move |output: &&str| { + Name::parser() + .check_finished(InputIter::new(*output)) + .is_ok() + }) .map(|output: &str| Repo(output.to_string())) } } |
