mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 11:42:25 +00:00
run clippy fix
This commit is contained in:
@@ -26,10 +26,10 @@ pub(crate) enum ReportRequest {
|
||||
}
|
||||
|
||||
impl ReportRequest {
|
||||
fn props(&self) -> &PropfindType<AddressObjectPropWrapperName> {
|
||||
const fn props(&self) -> &PropfindType<AddressObjectPropWrapperName> {
|
||||
match self {
|
||||
ReportRequest::AddressbookMultiget(AddressbookMultigetRequest { prop, .. }) => prop,
|
||||
ReportRequest::SyncCollection(SyncCollectionRequest { prop, .. }) => prop,
|
||||
Self::AddressbookMultiget(AddressbookMultigetRequest { prop, .. }) => prop,
|
||||
Self::SyncCollection(SyncCollectionRequest { prop, .. }) => prop,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user