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
|
|
@ -68,7 +68,7 @@ impl cosmic::Application for App {
|
|||
|
||||
/// Creates the application, and optionally emits command on initialize.
|
||||
fn init(core: Core, _input: Self::Flags) -> (Self, Command<Self::Message>) {
|
||||
let mut app = App {
|
||||
let mut app = Self {
|
||||
core,
|
||||
open_sender: None,
|
||||
file_contents: String::new(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue