formatting

This commit is contained in:
Andrei Stoica 2023-06-15 10:13:15 -04:00
parent 3de2959e12
commit 944af2a464
2 changed files with 1 additions and 3 deletions

View File

@ -1,12 +1,12 @@
mod todo_file;
use crate::todo_file::TodoFile;
use chrono::naive::NaiveDate;
use chrono::{Datelike, Local};
use std::env;
use std::fs::{copy, read_dir};
use std::path::{Path, PathBuf};
use std::process::Command;
use crate::todo_file::TodoFile;
//TODO handle unwraps and errors more uniformly
//TODO move TodoFile into its file
@ -54,7 +54,6 @@ fn main() {
}
}
fn get_editor(fallback: String) -> String {
match env::var("EDITOR") {
Ok(editor) => editor,

View File

@ -1,4 +1,3 @@
use chrono::naive::NaiveDate;
use regex::Regex;
use std::convert::TryFrom;