use 'Self' keyword to refer to own type (clippy::use_self)
This commit is contained in:
parent
12a5804fa7
commit
1ffd464c21
7 changed files with 24 additions and 24 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue