fingers

Finger client library in Rust
Log | Files | Refs | README | LICENSE

commit 089280852e4fe86527fd981ed566dd51ba868dc2
parent 3a47f94888a4b045543171b52cf6fccd438b2dd0
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Wed,  1 Dec 2021 23:31:36 -0800

simplify

Diffstat:
Msrc/main.rs | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/main.rs b/src/main.rs @@ -7,9 +7,6 @@ fn main() -> Result<(), fingers::Error> { println!("Usage: finger [request]@host or finger://host/request"); process::exit(1); } - if args[1].starts_with("finger://") { - println!("{}", fingers::from_url(&args[1])?.send()?); - } let user: &str; let host: &str; let params: Vec<&str> = args[1].split("@").collect();