From a28098444ed3dc8352a2398b3efa1f24503a8466 Mon Sep 17 00:00:00 2001 From: bgermann Date: Mon, 14 Aug 2017 18:05:22 +0200 Subject: [PATCH] Fix annoying typo prifex -> prefix --- src/common.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common.rs b/src/common.rs index 9df6f3c..43c1169 100644 --- a/src/common.rs +++ b/src/common.rs @@ -15,7 +15,7 @@ impl fmt::Display for IpNetworkError { use IpNetworkError::*; match *self { 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), } }