diff --git a/src/utils/comment_whitespace.rs b/src/utils/comment_whitespace.rs index b21f0d1..0772020 100644 --- a/src/utils/comment_whitespace.rs +++ b/src/utils/comment_whitespace.rs @@ -8,7 +8,7 @@ use crate::error::SassResult; use crate::selector::Selector; use crate::{Scope, Token}; -use super::*; +use super::parse_interpolation; pub(crate) trait IsWhitespace { fn is_whitespace(&self) -> bool; diff --git a/src/utils/read_until.rs b/src/utils/read_until.rs index ef165ca..e0a4d4b 100644 --- a/src/utils/read_until.rs +++ b/src/utils/read_until.rs @@ -4,7 +4,7 @@ use peekmore::PeekMoreIterator; use crate::Token; -use super::*; +use super::{devour_whitespace, read_until_newline}; // Eat tokens until an open curly brace // diff --git a/src/utils/strings.rs b/src/utils/strings.rs index d698190..7f0028c 100644 --- a/src/utils/strings.rs +++ b/src/utils/strings.rs @@ -10,7 +10,7 @@ use crate::selector::Selector; use crate::value::Value; use crate::{Scope, Token}; -use super::*; +use super::{as_hex, hex_char_for, is_name, is_name_start, parse_interpolation}; fn ident_body>( toks: &mut PeekMoreIterator, diff --git a/src/utils/variables.rs b/src/utils/variables.rs index d5020dc..7c6db2c 100644 --- a/src/utils/variables.rs +++ b/src/utils/variables.rs @@ -9,7 +9,7 @@ use crate::selector::Selector; use crate::value::Value; use crate::{Scope, Token}; -use super::*; +use super::{devour_whitespace, eat_ident, read_until_semicolon_or_closing_curly_brace}; pub(crate) struct VariableDecl { pub val: Spanned,