From e7f51f040bfef040be13ee583f5ee387dc70040f Mon Sep 17 00:00:00 2001 From: Lennart <18233294+lennart-k@users.noreply.github.com> Date: Sat, 4 Jan 2025 14:25:25 +0100 Subject: [PATCH] clippy appeasement --- crates/dav/src/resource/resource_service.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/dav/src/resource/resource_service.rs b/crates/dav/src/resource/resource_service.rs index 1c12915..2cf98f2 100644 --- a/crates/dav/src/resource/resource_service.rs +++ b/crates/dav/src/resource/resource_service.rs @@ -17,7 +17,7 @@ pub trait ResourceService: Sized + 'static { async fn get_members( &self, - path: &Self::PathComponents, + _path: &Self::PathComponents, _rmap: &ResourceMap, ) -> Result, Self::Error> { Ok(vec![]) @@ -25,18 +25,18 @@ pub trait ResourceService: Sized + 'static { async fn get_resource( &self, - path: &Self::PathComponents, + _path: &Self::PathComponents, ) -> Result; async fn save_resource( &self, - path: &Self::PathComponents, - file: Self::Resource, + _path: &Self::PathComponents, + _file: Self::Resource, ) -> Result<(), Self::Error> { Err(crate::Error::Unauthorized.into()) } async fn delete_resource( &self, - path: &Self::PathComponents, + _path: &Self::PathComponents, _use_trashbin: bool, ) -> Result<(), Self::Error> { Err(crate::Error::Unauthorized.into())