mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 03:32:15 +00:00
get rid of a few warnings
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user