diff options
| author | mo khan <mo@mokhan.ca> | 2025-07-16 14:35:13 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-07-16 14:35:13 -0600 |
| commit | 8514fe5d2771f063f10434922d1482d7e193f47f (patch) | |
| tree | ddfc26594c5fade99a0f0b12419a9f792ad99bb0 /src/authorization | |
| parent | d2b6a63d83877ff1efd8437be0bf662e9d65815a (diff) | |
fix: the buf tonic plugin is not compatible with newer versions of tonic
Diffstat (limited to 'src/authorization')
| -rw-r--r-- | src/authorization/spice/authorizer.rs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/authorization/spice/authorizer.rs b/src/authorization/spice/authorizer.rs index 79a79c90..9c9e13b1 100644 --- a/src/authorization/spice/authorizer.rs +++ b/src/authorization/spice/authorizer.rs @@ -2,8 +2,14 @@ pub struct Authorizer {} impl Authorizer { - pub fn new() -> Authorizer { - Authorizer {} + pub fn new() -> Self { + Self {} + } +} + +impl Default for Authorizer { + fn default() -> Self { + Self {} } } |
