chore: clippy
This commit is contained in:
parent
89ee4425ed
commit
eb5d8b8940
1 changed files with 3 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
|||
#![warn(clippy::all, clippy::pedantic, clippy::nursery)]
|
||||
|
||||
use std::{
|
||||
collections::BTreeMap,
|
||||
error::Error,
|
||||
|
@ -98,7 +100,7 @@ impl ToDooDooApp {
|
|||
);
|
||||
file.read_to_string(&mut notes)
|
||||
.expect("failed to read file");
|
||||
Self { file, notes }
|
||||
Self { notes, file }
|
||||
}
|
||||
|
||||
fn save(&mut self) {
|
||||
|
|
Loading…
Reference in a new issue