1
0
Fork 0

Shorten two characters to one

This commit is contained in:
Honbra 2023-10-19 00:21:30 +02:00
parent ee22233788
commit 558c179ba8
Signed by: honbra
GPG key ID: B61CC9ADABE2D952

View file

@ -43,7 +43,7 @@ fn main() -> eyre::Result<()> {
debug!(addr = field::display(&config.listen_addr), "binding"); debug!(addr = field::display(&config.listen_addr), "binding");
rt.block_on(async move { rt.block_on(async move {
Ok::<(), eyre::Error>( Ok::<_, eyre::Error>(
axum::Server::try_bind(&config.listen_addr) axum::Server::try_bind(&config.listen_addr)
.context("unable to bind to server address")? .context("unable to bind to server address")?
.serve(build_app(config).into_make_service()) .serve(build_app(config).into_make_service())