clippy appeasement

This commit is contained in:
Lennart
2024-11-06 10:56:15 +01:00
parent f1c43a8271
commit 85b5af2e76

View File

@@ -71,11 +71,7 @@ pub trait Resource: Clone + 'static {
fn get_resourcetype() -> &'static [&'static str];
fn list_props() -> Vec<&'static str> {
[
&Self::PropName::VARIANTS[..],
&CommonPropertiesPropName::VARIANTS[..],
]
.concat()
[Self::PropName::VARIANTS, CommonPropertiesPropName::VARIANTS].concat()
}
fn get_internal_prop(