Compare commits
2 commits
64458d4018
...
eb5d8b8940
Author | SHA1 | Date | |
---|---|---|---|
eb5d8b8940 | |||
89ee4425ed |
2 changed files with 6 additions and 4 deletions
|
@ -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": {
|
||||||
|
|
|
@ -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