diff --git a/examples/repl-derive.rs b/examples/repl-derive.rs index 0b163df39b0..8de9b33e4ed 100644 --- a/examples/repl-derive.rs +++ b/examples/repl-derive.rs @@ -28,8 +28,7 @@ fn main() -> Result<(), String> { fn respond(line: &str) -> Result { 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())?;