commit 7c485780d7edec4b20544efd5938dba459d95ced parent e5faf22d223b2813708a1b2bde9d2ab90c089bd2 Author: n0tr1v <n0tr1v@protonmail.com> Date: Fri, 7 Apr 2023 04:35:30 -0700 cleanup Diffstat:
| M | src/main.rs | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main.rs b/src/main.rs @@ -329,7 +329,7 @@ impl LeChatPHPClient { let oper = sel.select(); if oper.index() == oper2 { - if let Ok(_) = oper.recv(&exit_rx) { + if oper.recv(&exit_rx).is_ok() { return; } } else if oper.index() == oper1 {