From d06538726b2c94a5ddf8f8af0be5377ce91a0371 Mon Sep 17 00:00:00 2001 From: yggverse Date: Wed, 16 Oct 2024 18:51:37 +0300 Subject: [PATCH] update var names --- src/app/browser/window/tab/item/page/input/default/control.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/browser/window/tab/item/page/input/default/control.rs b/src/app/browser/window/tab/item/page/input/default/control.rs index 7580e83b..cd9a7684 100644 --- a/src/app/browser/window/tab/item/page/input/default/control.rs +++ b/src/app/browser/window/tab/item/page/input/default/control.rs @@ -38,7 +38,7 @@ impl Control { // Update children components self.counter.update(chars_left); self.send.update(match chars_left { - Some(value) => value > 0, + Some(left) => left > 0, None => false, }); }