diff --git a/src/cli_util.rs b/src/cli_util.rs index 7e72dbbd8..212972474 100644 --- a/src/cli_util.rs +++ b/src/cli_util.rs @@ -123,9 +123,9 @@ impl From for CommandError { impl From for CommandError { fn from(err: OpHeadResolutionError) -> Self { match err { - OpHeadResolutionError::NoHeads => { - CommandError::InternalError("Corrupt repository: the are no operations".to_string()) - } + OpHeadResolutionError::NoHeads => CommandError::InternalError( + "Corrupt repository: there are no operations".to_string(), + ), } } }