From c81a9a7644ef4df1ebcccf18e158f1dea7ad23bf Mon Sep 17 00:00:00 2001 From: bunnie Date: Wed, 4 Aug 2021 02:05:26 +0800 Subject: [PATCH] whups a buffer wasn't saved during the refactor --- services/ime-plugin-shell/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/ime-plugin-shell/src/main.rs b/services/ime-plugin-shell/src/main.rs index 640d9db06..1e54eeef8 100644 --- a/services/ime-plugin-shell/src/main.rs +++ b/services/ime-plugin-shell/src/main.rs @@ -106,7 +106,7 @@ fn xmain() -> ! { } Some(Opcode::Unpick) => { if history.len() == 1 { - history.remove(0); + let _ = history.remove(0); } else if history.len() > 1 { let _ = history.pop(); // discard the last entry }