diff options
author | Richard Walters <rwalters@digitalstirling.com> | 2020-10-12 19:45:53 -0700 |
---|---|---|
committer | Richard Walters <rwalters@digitalstirling.com> | 2020-10-12 19:45:53 -0700 |
commit | bdd6457813e8339d108787b3f90ded527f8593b1 (patch) | |
tree | b1ddd462927cfaed809a87fb7d0f13383101a14f /src | |
parent | 4cb87349a246ed4d04d549a109c3a76e85685c71 (diff) |
Remove unused statics
Diffstat (limited to 'src')
-rw-r--r-- | src/percent_encoded_character_decoder.rs | 24 |
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")] |