mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 16:32:29 +00:00
resource: change some type signatures
This commit is contained in:
@@ -110,7 +110,7 @@ pub async fn route_proppatch<R: ResourceService>(
|
||||
}
|
||||
Operation::Remove(_remove_el) => {
|
||||
match <<R::Resource as Resource>::PropName as FromStr>::from_str(&propname) {
|
||||
Ok(prop) => match resource.remove_prop(prop) {
|
||||
Ok(prop) => match resource.remove_prop(&prop) {
|
||||
Ok(()) => {
|
||||
props_ok.push(propname);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user