1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-20 12:02:22 +03:00

cargo fmt

This commit is contained in:
Quentin Gliech
2022-01-25 09:52:45 +01:00
parent 1355be8fb8
commit 4fd0c6b337
2 changed files with 7 additions and 2 deletions

View File

@@ -15,4 +15,7 @@
mod mailer; mod mailer;
mod transport; mod transport;
pub use self::{mailer::Mailer, transport::Transport as MailTransport, transport::aws_ses::Transport as AwsSesTransport}; pub use self::{
mailer::Mailer,
transport::{aws_ses::Transport as AwsSesTransport, Transport as MailTransport},
};

View File

@@ -68,7 +68,9 @@ impl Transport {
TransportInner::Smtp(t.build()) TransportInner::Smtp(t.build())
} }
EmailTransportConfig::AwsSes => TransportInner::AwsSes(aws_ses::Transport::from_env().await), EmailTransportConfig::AwsSes => {
TransportInner::AwsSes(aws_ses::Transport::from_env().await)
}
}; };
let inner = Arc::new(inner); let inner = Arc::new(inner);
Ok(Self { inner }) Ok(Self { inner })