use 'Self' keyword to refer to own type (clippy::use_self)

This commit is contained in:
Daniel Eades 2023-12-10 16:32:17 +00:00
parent 12a5804fa7
commit 1ffd464c21
7 changed files with 24 additions and 24 deletions

View file

@ -43,7 +43,7 @@ impl cosmic::Application for MultiWindow {
}
fn init(core: Core, _input: Self::Flags) -> (Self, cosmic::app::Command<Self::Message>) {
let windows = MultiWindow {
let windows = Self {
windows: HashMap::from([(
window::Id::MAIN,
Window {