Shorten two characters to one
This commit is contained in:
parent
ee22233788
commit
558c179ba8
|
@ -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())
|
||||||
|
|
Loading…
Reference in a new issue