diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-01-11 22:10:12 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-01-11 22:10:12 +0400 |
| commit | 78aa08b100f87fbde3738c78db5a8942e7e9b991 (patch) | |
| tree | 4f615005b3ad886223d0933d209ddb90088c6882 | |
| parent | d8626fcab0d6f0080d34df7953e3348780cfc39b (diff) | |
| download | niri-78aa08b100f87fbde3738c78db5a8942e7e9b991.tar.gz niri-78aa08b100f87fbde3738c78db5a8942e7e9b991.tar.bz2 niri-78aa08b100f87fbde3738c78db5a8942e7e9b991.zip | |
Silence the two type complexity lints
meh
| -rw-r--r-- | src/dbus/mutter_screen_cast.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dbus/mutter_screen_cast.rs b/src/dbus/mutter_screen_cast.rs index 020d06a3..cf22f8a0 100644 --- a/src/dbus/mutter_screen_cast.rs +++ b/src/dbus/mutter_screen_cast.rs @@ -16,6 +16,7 @@ use super::Start; pub struct ScreenCast { connectors: Arc<Mutex<HashMap<String, Output>>>, to_niri: calloop::channel::Sender<ScreenCastToNiri>, + #[allow(clippy::type_complexity)] sessions: Arc<Mutex<Vec<(Session, InterfaceRef<Session>)>>>, } @@ -24,6 +25,7 @@ pub struct Session { id: usize, connectors: Arc<Mutex<HashMap<String, Output>>>, to_niri: calloop::channel::Sender<ScreenCastToNiri>, + #[allow(clippy::type_complexity)] streams: Arc<Mutex<Vec<(Stream, InterfaceRef<Stream>)>>>, } |
