Compare commits

..

2 commits

Author SHA1 Message Date
eb5d8b8940
chore: clippy 2024-02-05 21:17:27 +01:00
89ee4425ed
chore: update flake.lock 2024-02-05 21:14:45 +01:00
2 changed files with 6 additions and 4 deletions

View file

@ -2,11 +2,11 @@
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1704194953,
"narHash": "sha256-RtDKd8Mynhe5CFnVT8s0/0yqtWFMM9LmCzXv/YKxnq4=",
"lastModified": 1706913249,
"narHash": "sha256-x3M7iV++CsvRXI1fpyFPduGELUckZEhSv0XWnUopAG8=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "bd645e8668ec6612439a9ee7e71f7eac4099d4f6",
"rev": "e92b6015881907e698782c77641aa49298330223",
"type": "github"
},
"original": {

View file

@ -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) {