mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 22:52:22 +00:00
remove unnecessary ?Sized constraints
This commit is contained in:
@@ -5,7 +5,7 @@ use actix_web::HttpResponse;
|
||||
use actix_web::Responder;
|
||||
use rustical_auth::{AuthInfoExtractor, CheckAuthentication};
|
||||
|
||||
pub async fn route_delete<A: CheckAuthentication, R: ResourceService + ?Sized>(
|
||||
pub async fn route_delete<A: CheckAuthentication, R: ResourceService>(
|
||||
path_components: Path<R::PathComponents>,
|
||||
req: HttpRequest,
|
||||
auth: AuthInfoExtractor<A>,
|
||||
|
||||
@@ -37,7 +37,7 @@ struct PropfindElement {
|
||||
prop: PropfindType,
|
||||
}
|
||||
|
||||
pub async fn route_propfind<A: CheckAuthentication, R: ResourceService + ?Sized>(
|
||||
pub async fn route_propfind<A: CheckAuthentication, R: ResourceService>(
|
||||
path_components: Path<R::PathComponents>,
|
||||
body: String,
|
||||
req: HttpRequest,
|
||||
|
||||
@@ -47,7 +47,7 @@ struct PropertyupdateElement<T> {
|
||||
operations: Vec<Operation<T>>,
|
||||
}
|
||||
|
||||
pub async fn route_proppatch<A: CheckAuthentication, R: ResourceService + ?Sized>(
|
||||
pub async fn route_proppatch<A: CheckAuthentication, R: ResourceService>(
|
||||
path: Path<R::PathComponents>,
|
||||
body: String,
|
||||
req: HttpRequest,
|
||||
|
||||
Reference in New Issue
Block a user