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": { "nodes": {
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1704194953, "lastModified": 1706913249,
"narHash": "sha256-RtDKd8Mynhe5CFnVT8s0/0yqtWFMM9LmCzXv/YKxnq4=", "narHash": "sha256-x3M7iV++CsvRXI1fpyFPduGELUckZEhSv0XWnUopAG8=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "bd645e8668ec6612439a9ee7e71f7eac4099d4f6", "rev": "e92b6015881907e698782c77641aa49298330223",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

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