Lint
This commit is contained in:
1 parent
aa1bfb768e
commit
20a1db073d
20 files changed
+118
-126
No files matched your search
@@ -191,10 +191,9 @@ impl Subscript {
|
||||
///
|
||||
/// Does nothing if there is no pending call.
|
||||
fn handle_calls(&self, lua: &Lua) {
|
||||
let call = match self.call_rx.try_recv() {
|
||||
Ok(call) => call,
|
||||
let Ok(call) = self.call_rx.try_recv() else {
|
||||
// no pending call, or thread disconnected which is handled on join
|
||||
Err(_) => return,
|
||||
return;
|
||||
};
|
||||
|
||||
match call {
|
||||
|
||||
Reference in new issue
Block a user