Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
olegnn committed Oct 27, 2023
1 parent fc2eaff commit 9d31e58
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pallets/core/src/common/authorization.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@ use super::ToStateChange;
/// Authorizes action performed by `Self` over supplied target using given key.
pub trait AuthorizeTarget<Target, Key> {
/// `Self` can perform supplied action over `target` using the provided key.
fn ensure_authorizes_target<T, A>(
&self,
_: &Key,
_: &A,
) -> Result<(), did::Error<T>>
fn ensure_authorizes_target<T, A>(&self, _: &Key, _: &A) -> Result<(), did::Error<T>>
where
T: did::Config,
A: Action<Target = Target>,
Expand Down

0 comments on commit 9d31e58

Please sign in to comment.