clean code with clippy

This commit is contained in:
2023-09-06 14:39:36 +02:00
parent ba3a552def
commit 8b0264d181
7 changed files with 16 additions and 18 deletions

View File

@ -39,7 +39,7 @@ WHERE id in (SELECT rower_id FROM rower WHERE logbook_id=?)
)
.execute(db)
.await
.map_err(|e| return e.to_string())?;
.map_err(|e| e.to_string())?;
Ok(())
}