fmt: clippy and fmt

This commit is contained in:
silver 2023-07-30 01:19:19 +01:00
parent c3ed7fe02c
commit 4ce3e94c36
3 changed files with 59 additions and 67 deletions

View file

@ -252,7 +252,6 @@ async fn update_accounts(pool: &Pool<Sqlite>, config: &Config) {
ldap.unbind().unwrap();
}
#[derive(Debug, serde::Deserialize)]
pub struct Record {
#[serde(rename = "MemID")]
@ -285,4 +284,4 @@ pub fn read_csv(config: &Config) -> Result<Vec<Record>, Box<dyn std::error::Erro
}
Ok(records)
}
}