chore: cargo fmt
This commit is contained in:
@@ -41,7 +41,8 @@ impl Display for Symbol {
|
||||
}
|
||||
}
|
||||
|
||||
static REGEX: LazyLock<Regex> = LazyLock::new(|| Regex::new(r#"^[a-zA-Z\_][a-zA-Z0-9\_\'\-]*$"#).unwrap());
|
||||
static REGEX: LazyLock<Regex> =
|
||||
LazyLock::new(|| Regex::new(r#"^[a-zA-Z\_][a-zA-Z0-9\_\'\-]*$"#).unwrap());
|
||||
impl Symbol {
|
||||
fn normal(&self) -> bool {
|
||||
!REGEX.is_match(self)
|
||||
|
||||
Reference in New Issue
Block a user