Apply formatting

This commit is contained in:
2024-09-27 22:28:54 +02:00
parent c01177e4c8
commit cad1073448
2 changed files with 1 additions and 4 deletions

View File

@ -171,9 +171,7 @@ impl ScanTask {
let res = scan_tasks
.select(ScanTaskitem::as_select())
.filter(scan_tasks::started_at.is_null())
.order((
scan_tasks::created_at.asc(),
))
.order((scan_tasks::created_at.asc(),))
.load::<ScanTaskitem>(conn);
match res {
Ok(rows) => Ok(rows),

View File

@ -175,7 +175,6 @@ fn main() -> () {
Ok(worker_url) => worker_url,
Err(_) => "ws://127.0.0.1:8800".to_string(),
};
let mut worker = Worker::initial();
match ws2::connect(&url) {
Ok(mut ws_client) => {