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 }