aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/percent_encoded_character_decoder.rs24
1 files changed, 0 insertions, 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<char> =
- ('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<char> =
- ('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<char> =
- ('a'..='f')
- .collect();
-}
-
#[derive(Debug, Clone, thiserror::Error, PartialEq)]
pub enum Error {
#[error("illegal character")]