diff options
| author | Amos Wenger <fasterthanlime@users.noreply.github.com> | 2022-07-24 14:50:30 +0200 |
|---|---|---|
| committer | Amos Wenger <amoswenger@gmail.com> | 2022-07-25 15:19:57 +0200 |
| commit | fd1b64ec718d8483a98872bd91ee8f11b6893e7f (patch) | |
| tree | 1455e359ef28a6bf724001c6b5ef88daf54f953a | |
| parent | fba6adfae48d55984934872a81d533dc405b7cd3 (diff) | |
Return result directly
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
| -rw-r--r-- | crates/proc-macro-srv-cli/src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/proc-macro-srv-cli/src/main.rs b/crates/proc-macro-srv-cli/src/main.rs index 0f23a7daafa..8398f2ba6cb 100644 --- a/crates/proc-macro-srv-cli/src/main.rs +++ b/crates/proc-macro-srv-cli/src/main.rs @@ -2,6 +2,6 @@ use proc_macro_srv::cli; -fn main() { - cli::run().unwrap(); +fn main() -> std::io::Result<()> { + cli::run() } |
