From 5caf9a26401980054da460efef559a85de9b02ca Mon Sep 17 00:00:00 2001 From: TcMits Date: Thu, 11 Sep 2025 00:14:38 +0700 Subject: [PATCH] make it more safe + clippy --- cli/app.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/app.rs b/cli/app.rs index bcaf6bbf1..c6be2336b 100644 --- a/cli/app.rs +++ b/cli/app.rs @@ -575,7 +575,7 @@ impl Limbo { // if the address is not the same, meaning the string has been reallocated // so we just drop the part we took earlier - if ptr.addr() != old_address { + if ptr.addr() != old_address || !app.input_buff.is_empty() { return; }