diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2023-01-01 20:47:59 -0500 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2023-01-01 20:50:11 -0500 |
commit | 33dfcd18252dd8a4845cd58b93bd177ab0dffde9 (patch) | |
tree | fbb6fc049677a492cd9d5196d6b1709f0b32b873 /server/src/fake_auth.rs | |
parent | d3fbefad9cf25786fb5f28f96eeceb65d0a8b35b (diff) |
Fix clippy warnings
Diffstat (limited to 'server/src/fake_auth.rs')
-rw-r--r-- | server/src/fake_auth.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/server/src/fake_auth.rs b/server/src/fake_auth.rs index 6a3ff2c..caea745 100644 --- a/server/src/fake_auth.rs +++ b/server/src/fake_auth.rs @@ -29,6 +29,12 @@ impl FakeAuthenticator { } } +impl Default for FakeAuthenticator { + fn default() -> Self { + Self::new() + } +} + #[async_trait] impl Authenticator for FakeAuthenticator { async fn user_info( |