diff options
Diffstat (limited to 'src/authorization')
| -rw-r--r-- | src/authorization/default.rs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/authorization/default.rs b/src/authorization/default.rs index dcec8e2a..8252618d 100644 --- a/src/authorization/default.rs +++ b/src/authorization/default.rs @@ -1,9 +1,15 @@ #[derive(Debug)] pub struct Authorizer {} +impl Authorizer { + pub fn new() -> Self { + Self {} + } +} + impl Default for Authorizer { fn default() -> Self { - Self {} + Self::new() } } |
