Removed redundant variables
This commit is contained in:
parent
a9bb5c1d52
commit
edc125d5fc
@ -7,11 +7,8 @@ fn main() {
|
|||||||
println!("Enter the IP and cidr for your given network");
|
println!("Enter the IP and cidr for your given network");
|
||||||
|
|
||||||
let ip_and_cidr: (networking::ip::IpAddr, u8);
|
let ip_and_cidr: (networking::ip::IpAddr, u8);
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
let mut ip: String = Default::default();
|
|
||||||
let mut cidr: u8 = Default::default();
|
|
||||||
|
|
||||||
let mut ip_buf = String::new();
|
let mut ip_buf = String::new();
|
||||||
io::stdin().read_line(&mut ip_buf).unwrap_or_default();
|
io::stdin().read_line(&mut ip_buf).unwrap_or_default();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user