remove unused dep; cargo clippy
This commit is contained in:
@ -196,7 +196,7 @@ WHERE day = ? AND planned_starting_time = ?
|
||||
.fetch_one(db)
|
||||
.await
|
||||
.unwrap(); //TODO: fixme
|
||||
let amount_currently_registered = i64::from(amount_currently_registered.count);
|
||||
let amount_currently_registered = amount_currently_registered.count;
|
||||
|
||||
amount_currently_registered >= self.max_people
|
||||
}
|
||||
|
@ -7,9 +7,9 @@ use rocket::{
|
||||
form::Form,
|
||||
fs::FileServer,
|
||||
get,
|
||||
http::{Cookie, Status},
|
||||
http::Cookie,
|
||||
post,
|
||||
request::{FlashMessage, FromRequest, Outcome},
|
||||
request::FlashMessage,
|
||||
response::{Flash, Redirect},
|
||||
routes,
|
||||
time::{Duration, OffsetDateTime},
|
||||
@ -30,7 +30,6 @@ use crate::{
|
||||
},
|
||||
SCHECKBUCH,
|
||||
};
|
||||
use base64::alphabet::STANDARD;
|
||||
|
||||
pub(crate) mod admin;
|
||||
mod auth;
|
||||
|
Reference in New Issue
Block a user