Format and clippy

This commit is contained in:
Adrian Heine 2019-10-02 23:38:22 +02:00
parent 466b4cb994
commit bc4a898c0a
12 changed files with 17 additions and 27 deletions

View file

@ -14,7 +14,7 @@ pub struct SimpleStorage(String, String);
impl SimpleStorage {
pub fn new(base: String, filename: String) -> Self {
SimpleStorage(base, filename)
Self(base, filename)
}
fn get_path(&self, date: Option<u64>) -> String {