get rid of a few warnings

This commit is contained in:
Lennart
2024-07-27 12:11:45 +02:00
parent b6debf2ad2
commit 0eb71911c0

View File

@@ -7,13 +7,13 @@ pub fn configure_well_known(cfg: &mut web::ServiceConfig, carddav_root: String)
} }
pub fn configure_dav<A: CheckAuthentication>( pub fn configure_dav<A: CheckAuthentication>(
cfg: &mut web::ServiceConfig, _cfg: &mut web::ServiceConfig,
prefix: String, _prefix: String,
auth: Arc<A>, _auth: Arc<A>,
) { ) {
} }
async fn options_handler() -> impl Responder { pub async fn options_handler() -> impl Responder {
HttpResponse::Ok() HttpResponse::Ok()
.insert_header(( .insert_header((
"Allow", "Allow",