refactor: remove unused imports from generate module
This commit is contained in:
parent
98acc93411
commit
48b2440b1e
1 changed files with 1 additions and 7 deletions
|
|
@ -1,7 +1,4 @@
|
|||
use std::{
|
||||
collections::{BTreeMap, HashMap},
|
||||
sync::LazyLock,
|
||||
};
|
||||
use std::sync::LazyLock;
|
||||
#[cfg(feature = "load")]
|
||||
use std::{
|
||||
env, fs,
|
||||
|
|
@ -14,7 +11,6 @@ use anyhow::Result;
|
|||
use bitflags::bitflags;
|
||||
use log::warn;
|
||||
use regex::{Regex, RegexBuilder};
|
||||
use rules::{Alias, Symbol};
|
||||
#[cfg(feature = "load")]
|
||||
use semver::Version;
|
||||
#[cfg(feature = "load")]
|
||||
|
|
@ -45,8 +41,6 @@ pub use prepare_grammar::PrepareGrammarError;
|
|||
use render::render_c_code;
|
||||
pub use render::{ABI_VERSION_MAX, ABI_VERSION_MIN};
|
||||
|
||||
use crate::{build_tables::Tables, node_types::ChildType};
|
||||
|
||||
static JSON_COMMENT_REGEX: LazyLock<Regex> = LazyLock::new(|| {
|
||||
RegexBuilder::new("^\\s*//.*")
|
||||
.multi_line(true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue