Changed result stderr to stdout
This commit is contained in:
parent
ab63271102
commit
091b5c487d
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue