mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
rm more generics when useless (#12595)
This commit is contained in:
@ -111,7 +111,7 @@ impl FromStr for NatResolver {
|
||||
"Unknown Nat Resolver: {s}"
|
||||
)))
|
||||
};
|
||||
Self::ExternalIp(ip.parse::<IpAddr>()?)
|
||||
Self::ExternalIp(ip.parse()?)
|
||||
}
|
||||
};
|
||||
Ok(r)
|
||||
|
||||
Reference in New Issue
Block a user