add pre-commit config

This commit is contained in:
Johannes Heuel
2022-08-22 20:07:39 +02:00
parent 1ed0f5f95b
commit b4e9fd499f
13 changed files with 42 additions and 32 deletions

View File

@@ -1,8 +1,8 @@
extern crate diesel;
use self::models::*;
use diesel::prelude::*;
use backend::*;
use diesel::prelude::*;
fn main() {
use self::schema::pictures::dsl::*;
@@ -18,4 +18,4 @@ fn main() {
println!("filepath: {}", picture.filepath);
println!("\tid: {}", picture.id);
}
}
}