diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/app.rs | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -6,9 +6,7 @@ use std::{string::String, io, collections::HashMap}; /// if configured by command line parameters. pub fn app(arg_hash: HashMap<String, String>) -> io::Result<()> { - let tcp = arg_hash.get(&String::from("--tcp")); - - match tcp { + match arg_hash.get(&String::from("--tcp")) { None => println!("No TCP address specified"), Some(addr) => setup_tcp(addr)? }; |
