From d1b59e984d0c81741029ac37f2f45ac8baeb9752 Mon Sep 17 00:00:00 2001 From: iff Date: Mon, 28 Oct 2024 12:01:59 +0100 Subject: [PATCH] fix: typo --- src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 6ee9e60..d845690 100644 --- a/src/main.rs +++ b/src/main.rs @@ -57,11 +57,11 @@ fn main() { }; let highlighted_suggestion = { - let deffirence = highlight_difference(&shell, &suggestion, &last_command); - if deffirence.is_none() { + let difference = highlight_difference(&shell, &suggestion, &last_command); + if difference.is_none() { break; }; - deffirence.unwrap() + difference.unwrap() }; let execution =