mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-18 22:53:16 +00:00
Clippy approved
This commit is contained in:
parent
028ce97172
commit
f40b13a628
1 changed files with 2 additions and 1 deletions
|
@ -35,7 +35,7 @@ thread_local! {
|
|||
});
|
||||
}
|
||||
|
||||
static NETMANAGER: LazyLock<Mutex<Option<NetManager>>> = LazyLock::new(|| Default::default());
|
||||
static NETMANAGER: LazyLock<Mutex<Option<NetManager>>> = LazyLock::new(Default::default);
|
||||
|
||||
#[derive(Default)]
|
||||
struct ExtState {
|
||||
|
@ -122,6 +122,7 @@ fn netmanager_connect(_lua: LuaState) -> eyre::Result<Vec<RawString>> {
|
|||
|
||||
let mut kvs = Vec::new();
|
||||
|
||||
#[expect(clippy::while_let_loop)] // Will probably get more variants in the future
|
||||
loop {
|
||||
match netman
|
||||
.recv()?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue