forge
Explore
Log in

Don't you dare go Hollow

Silence the two type complexity lints

Browse files at this commit

78aa08b100f87fbde3738c78db5a8942e7e9b991Ivan MolodetskikhParent: d8626fc
meh
src/dbus/mutter_screen_cast.rsmodified+2 -0
@@ -16,6 +16,7 @@ use super::Start;
16 pub struct ScreenCast {16 pub struct ScreenCast {
17 connectors: Arc<Mutex<HashMap<String, Output>>>,17 connectors: Arc<Mutex<HashMap<String, Output>>>,
18 to_niri: calloop::channel::Sender<ScreenCastToNiri>,18 to_niri: calloop::channel::Sender<ScreenCastToNiri>,
19+ #[allow(clippy::type_complexity)]
19 sessions: Arc<Mutex<Vec<(Session, InterfaceRef<Session>)>>>,20 sessions: Arc<Mutex<Vec<(Session, InterfaceRef<Session>)>>>,
20 }21 }
21 22
@@ -24,6 +25,7 @@ pub struct Session {
24 id: usize,25 id: usize,
25 connectors: Arc<Mutex<HashMap<String, Output>>>,26 connectors: Arc<Mutex<HashMap<String, Output>>>,
26 to_niri: calloop::channel::Sender<ScreenCastToNiri>,27 to_niri: calloop::channel::Sender<ScreenCastToNiri>,
28+ #[allow(clippy::type_complexity)]
27 streams: Arc<Mutex<Vec<(Stream, InterfaceRef<Stream>)>>>,29 streams: Arc<Mutex<Vec<(Stream, InterfaceRef<Stream>)>>>,
28 }30 }
29 31