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::{
|
use std::{
|
||||||
collections::BTreeMap,
|
collections::BTreeMap,
|
||||||
error::Error,
|
error::Error,
|
||||||
|
@ -98,7 +100,7 @@ impl ToDooDooApp {
|
||||||
);
|
);
|
||||||
file.read_to_string(&mut notes)
|
file.read_to_string(&mut notes)
|
||||||
.expect("failed to read file");
|
.expect("failed to read file");
|
||||||
Self { file, notes }
|
Self { notes, file }
|
||||||
}
|
}
|
||||||
|
|
||||||
fn save(&mut self) {
|
fn save(&mut self) {
|
||||||
|
|
Loading…
Reference in a new issue