From 4b263196d3a41c99f7dc1acf659a9f9083163d5e Mon Sep 17 00:00:00 2001 From: Eskil Queseth Date: Sat, 19 Jun 2021 17:51:04 +0200 Subject: feedback --- mumd/src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mumd/src') diff --git a/mumd/src/main.rs b/mumd/src/main.rs index 6a70586..479c568 100644 --- a/mumd/src/main.rs +++ b/mumd/src/main.rs @@ -37,8 +37,7 @@ use tokio_util::codec::{FramedRead, FramedWrite, LengthDelimitedCodec}; #[tokio::main] async fn main() { - if std::env::args().any(|s| s.as_str() == "--version") - { + if std::env::args().any(|s| s.as_str() == "--version") { println!("mumd {}", env!("VERSION")); return; } -- cgit v1.2.1