fix: Format chained method

This commit is contained in:
Eric R 2024-01-23 22:29:19 -05:00
parent 3216a64bea
commit fcab81aadb

View file

@ -28,8 +28,7 @@ fn main() -> Result<(), String> {
fn respond(line: &str) -> Result<bool, String> {
let args = shlex::split(line).ok_or("error: Invalid quoting")?;
let cli = Cli::try_parse_from(args)
.map_err(|e| e.to_string())?;
let cli = Cli::try_parse_from(args).map_err(|e| e.to_string())?;
match cli.command {
Commands::Ping => {
write!(std::io::stdout(), "Pong").map_err(|e| e.to_string())?;