From dfd5ebfa25d799399de0d15cb38ba47f5069647b Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 26 Feb 2022 18:08:40 -0500 Subject: reduce typing --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index e9c420d..65f1e52 100644 --- a/src/main.rs +++ b/src/main.rs @@ -37,7 +37,7 @@ struct Opt { } #[tokio::main] -async fn async_main(opt: Opt) -> anyhow::Result { +async fn async_main(opt: Opt) -> Result { if let Some(command) = opt.command { let mut shell_write = opt.status_fd.and_then(|fd| { nix::sys::stat::fstat(fd).ok().map(|_| { -- cgit v1.2.3-54-g00ecf