From cf8c2b07179bdfe80799ede35586c4d810d7abcd Mon Sep 17 00:00:00 2001 From: Waleed Khan Date: Sat, 31 Dec 2022 01:52:16 -0600 Subject: [PATCH] cli_util: fix typo --- src/cli_util.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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(), + ), } } }