chore: fmt
This commit is contained in:
parent
4d10812fd3
commit
0908ad602b
1 changed files with 3 additions and 2 deletions
|
@ -143,7 +143,9 @@ pub mod aoc_cli {
|
||||||
match self {
|
match self {
|
||||||
AocCliError::CommandNotFound => write!(f, "aoc-cli is not present in environment."),
|
AocCliError::CommandNotFound => write!(f, "aoc-cli is not present in environment."),
|
||||||
AocCliError::CommandNotCallable => write!(f, "aoc-cli could not be called."),
|
AocCliError::CommandNotCallable => write!(f, "aoc-cli could not be called."),
|
||||||
AocCliError::BadExitStatus(_) => write!(f, "aoc-cli exited with a non-zero status."),
|
AocCliError::BadExitStatus(_) => {
|
||||||
|
write!(f, "aoc-cli exited with a non-zero status.")
|
||||||
|
}
|
||||||
AocCliError::IoError => write!(f, "could not write output files to file system."),
|
AocCliError::IoError => write!(f, "could not write output files to file system."),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -192,7 +194,6 @@ pub mod aoc_cli {
|
||||||
} else {
|
} else {
|
||||||
Err(AocCliError::BadExitStatus(output))
|
Err(AocCliError::BadExitStatus(output))
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fn get_input_path(day: u8) -> String {
|
fn get_input_path(day: u8) -> String {
|
||||||
|
|
Loading…
Add table
Reference in a new issue