use 'Self' to refer to own type

This commit is contained in:
daniel.eades 2023-11-16 18:32:31 +00:00 committed by Ashley Wulber
parent a88cbad37f
commit b9723dd5e0
15 changed files with 48 additions and 54 deletions

View file

@ -60,7 +60,7 @@ impl cosmic::Application for Window {
_flags: Self::Flags,
) -> (Self, cosmic::iced::Command<app::Message<Self::Message>>) {
(
Window {
Self {
core,
popup: None,
id_ctr: 0,