Changed result stderr to stdout

This commit is contained in:
femsci 2021-08-02 17:34:51 +02:00
parent ab63271102
commit 091b5c487d
Signed by: femsci
GPG key ID: 08F7911F0E650C67

View file

@ -8,7 +8,7 @@ fn main() {
let ip_string = &args[1]; let ip_string = &args[1];
eprintln!("Result: \n{}", ip_to_int(ip_string)); println!("Result: \n{}", ip_to_int(ip_string));
} }
fn ip_to_int(ip_string: &str) -> u32 { fn ip_to_int(ip_string: &str) -> u32 {