Skip to content

Commit bd3f44d

Browse files
committed
Use a shorter type instead of ignoring clippy lint.
1 parent 47c6d64 commit bd3f44d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

noita-proxy/src/net.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,7 @@ pub struct NetManager {
140140
pub actual_noita_port: AtomicU16,
141141
pub active_mods: Mutex<Vec<String>>,
142142
pub nicknames: Mutex<HashMap<OmniPeerId, String>>,
143-
#[allow(clippy::type_complexity)]
144-
pub minas: Mutex<HashMap<OmniPeerId, ImageBuffer<Rgba<u8>, Vec<u8>>>>,
143+
pub minas: Mutex<HashMap<OmniPeerId, RgbaImage>>,
145144
pub new_desc: Mutex<Option<PlayerPngDesc>>,
146145
loopback_channel: (
147146
crossbeam::channel::Sender<NetMsg>,

0 commit comments

Comments
 (0)