Skip to content

Commit

Permalink
Use full path for trait
Browse files Browse the repository at this point in the history
  • Loading branch information
augustuswm committed Mar 27, 2024
1 parent d0afc32 commit 5696262
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions v-api-permission-derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ fn permission_storage_contract_tokens(

quote! {
fn contract(collection: &Permissions<Self>) -> Permissions<Self> {
let mut base = <Self as PermissionStorage>::contract(collection);
let mut base = <Self as v_model::permissions::PermissionStorage>::contract(collection);
let mut contracted = Vec::new();

#collection_instantiation
Expand Down Expand Up @@ -862,7 +862,7 @@ fn permission_storage_expand_tokens(
actor: &newtype_uuid::TypedUuid<v_model::UserId>,
actor_permissions: Option<&Permissions<Self>>,
) -> Permissions<Self> {
let mut base = <Self as PermissionStorage>::expand(collection, actor, actor_permissions.clone());
let mut base = <Self as v_model::permissions::PermissionStorage>::expand(collection, actor, actor_permissions.clone());
let mut expanded = Vec::new();

for p in collection.iter() {
Expand Down

0 comments on commit 5696262

Please sign in to comment.