mirror of
https://github.com/achanda/ipnetwork.git
synced 2025-06-16 16:58:50 +00:00
Fix annoying typo
prifex -> prefix
This commit is contained in:
@ -15,7 +15,7 @@ impl fmt::Display for IpNetworkError {
|
|||||||
use IpNetworkError::*;
|
use IpNetworkError::*;
|
||||||
match *self {
|
match *self {
|
||||||
InvalidAddr(ref s) => write!(f, "invalid address: {}", s),
|
InvalidAddr(ref s) => write!(f, "invalid address: {}", s),
|
||||||
InvalidPrefix => write!(f, "invalid prifex"),
|
InvalidPrefix => write!(f, "invalid prefix"),
|
||||||
InvalidCidrFormat(ref s) => write!(f, "invalid cidr format: {}", s),
|
InvalidCidrFormat(ref s) => write!(f, "invalid cidr format: {}", s),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user