Remove Resource::PropName

This commit is contained in:
Lennart
2025-01-18 23:18:59 +01:00
parent 020e836c42
commit 8359e4ee1c
11 changed files with 29 additions and 30 deletions

View File

@@ -19,7 +19,6 @@ impl<PR: Resource> Default for RootResource<PR> {
}
impl<PR: Resource + NamedRoute> Resource for RootResource<PR> {
type PropName = CommonPropertiesPropName;
type Prop = CommonPropertiesProp;
type Error = PR::Error;
type PrincipalResource = PR;
@@ -35,7 +34,7 @@ impl<PR: Resource + NamedRoute> Resource for RootResource<PR> {
&self,
rmap: &ResourceMap,
user: &User,
prop: &Self::PropName,
prop: &CommonPropertiesPropName,
) -> Result<Self::Prop, Self::Error> {
CommonPropertiesExtension::get_prop(self, rmap, user, prop)
}