From bdd6457813e8339d108787b3f90ded527f8593b1 Mon Sep 17 00:00:00 2001 From: Richard Walters Date: Mon, 12 Oct 2020 19:45:53 -0700 Subject: Remove unused statics --- src/percent_encoded_character_decoder.rs | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/src/percent_encoded_character_decoder.rs b/src/percent_encoded_character_decoder.rs index 44731c6..b07be50 100644 --- a/src/percent_encoded_character_decoder.rs +++ b/src/percent_encoded_character_decoder.rs @@ -1,31 +1,7 @@ #![warn(clippy::pedantic)] -use std::collections::HashSet; use std::convert::TryFrom; -// This is the character set containing just numbers. -lazy_static! { - static ref DIGIT: HashSet = - ('0'..='9') - .collect(); -} - -// This is the character set containing just the upper-case -// letters 'A' through 'F', used in upper-case hexadecimal. -lazy_static! { - static ref HEX_UPPER: HashSet = - ('A'..='F') - .collect(); -} - -// This is the character set containing just the lower-case -// letters 'a' through 'f', used in lower-case hexadecimal. -lazy_static! { - static ref HEX_LOWER: HashSet = - ('a'..='f') - .collect(); -} - #[derive(Debug, Clone, thiserror::Error, PartialEq)] pub enum Error { #[error("illegal character")] -- cgit v1.2.3