1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-04 01:24:09 +02:00

clippy fixes

This commit is contained in:
Robin Appelman 2023-05-04 18:53:38 +02:00
commit abe04b52d0
12 changed files with 101 additions and 104 deletions

View file

@ -9,10 +9,10 @@ use maplit::hashmap;
use miette::{IntoDiagnostic, Report};
#[derive(Debug, Clone, Eq, PartialEq)]
pub struct LDAP;
pub struct Ldap;
#[async_trait::async_trait]
impl ServiceTrait for LDAP {
impl ServiceTrait for Ldap {
fn name(&self) -> &str {
"ldap"
}
@ -78,10 +78,10 @@ impl ServiceTrait for LDAP {
}
#[derive(Debug, Clone, Eq, PartialEq)]
pub struct LDAPAdmin;
pub struct LdapAdmin;
#[async_trait::async_trait]
impl ServiceTrait for LDAPAdmin {
impl ServiceTrait for LdapAdmin {
fn name(&self) -> &str {
"ldap-admin"
}