aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Walters <rwalters@digitalstirling.com>2020-10-12 19:45:53 -0700
committerRichard Walters <rwalters@digitalstirling.com>2020-10-12 19:45:53 -0700
commitbdd6457813e8339d108787b3f90ded527f8593b1 (patch)
treeb1ddd462927cfaed809a87fb7d0f13383101a14f
parent4cb87349a246ed4d04d549a109c3a76e85685c71 (diff)
Remove unused statics
-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")]