style: cargo clippy & cargo fmt
This commit is contained in:
parent
19f64d413c
commit
e59f7b5a1f
20 changed files with 137 additions and 67 deletions
|
@ -76,7 +76,7 @@ pub struct Smtp {
|
|||
|
||||
impl ConfigBuilder {
|
||||
pub async fn load(path: String) -> Result<Self, Error> {
|
||||
debug!("loading config from: {}", path);
|
||||
debug!("loading config from: {path}");
|
||||
let raw = read_to_string(path).await?;
|
||||
|
||||
let config = toml::from_str(&raw)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue