feat: first complete workflow

This commit is contained in:
graelo 2020-05-29 11:50:19 +02:00
parent 58ceb190b6
commit 01d6e62689
5 changed files with 119 additions and 516 deletions

View file

@ -136,6 +136,7 @@ impl FromStr for HintStyleCli {
}
}
/// Try to parse a `&str` into a tuple of `char`s.
fn parse_chars(src: &str) -> Result<(char, char), error::ParseError> {
if src.len() != 2 {
return Err(error::ParseError::ExpectedSurroundingPair);