aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index ffb6c8b..cf48082 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -409,7 +409,6 @@ fn validate_ipv6_address(address: &str) -> Result<(), Error> {
#[allow(unused_parens)]
if (
(state == ValidationState::ColonButNoGroupsYet)
- || (state == ValidationState::AfterColonExpectGroupOrIpv4)
|| (state == ValidationState::ColonAfterGroup)
) { // trailing single colon
return Err(Error::IllegalCharacter);