Skip to content

Commit

Permalink
Regex doesn't need to be pub
Browse files Browse the repository at this point in the history
  • Loading branch information
ligustah committed Apr 6, 2024
1 parent 34ba8d6 commit 5062ce3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chain_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const CHAINS_JSON: &str = include_str!("../data/chains.json");
pub struct Chains(Vec<Chain>);

pub static CHAINS: Lazy<Chains> = Lazy::new(|| Chains::new());
pub static VARIABLE_REGEX: Lazy<Regex> = Lazy::new(|| Regex::new(r"\$\{(.+?)}").unwrap());
static VARIABLE_REGEX: Lazy<Regex> = Lazy::new(|| Regex::new(r"\$\{(.+?)}").unwrap());

impl Chains {
fn new() -> Self {
Expand Down

0 comments on commit 5062ce3

Please sign in to comment.