Skip to content

Commit f40b13a

Browse files
committed
Clippy approved
1 parent 028ce97 commit f40b13a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ewext/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ thread_local! {
3535
});
3636
}
3737

38-
static NETMANAGER: LazyLock<Mutex<Option<NetManager>>> = LazyLock::new(|| Default::default());
38+
static NETMANAGER: LazyLock<Mutex<Option<NetManager>>> = LazyLock::new(Default::default);
3939

4040
#[derive(Default)]
4141
struct ExtState {
@@ -122,6 +122,7 @@ fn netmanager_connect(_lua: LuaState) -> eyre::Result<Vec<RawString>> {
122122

123123
let mut kvs = Vec::new();
124124

125+
#[expect(clippy::while_let_loop)] // Will probably get more variants in the future
125126
loop {
126127
match netman
127128
.recv()?

0 commit comments

Comments
 (0)