diff --git a/src/parse/mod.rs b/src/parse/mod.rs index ba4eb73..52227d7 100644 --- a/src/parse/mod.rs +++ b/src/parse/mod.rs @@ -63,9 +63,6 @@ pub(crate) enum Stmt { Import(String), } -/// We could use a generic for the toks, but it makes the API -/// much simpler to work with if it isn't generic. The performance -/// hit (if there is one) is not important for now. // todo: merge at_root and at_root_has_selector into an enum pub(crate) struct Parser<'a> { pub toks: &'a mut Lexer, diff --git a/src/scope.rs b/src/scope.rs index 528101b..78b0dda 100644 --- a/src/scope.rs +++ b/src/scope.rs @@ -10,6 +10,9 @@ use crate::{ value::{SassFunction, Value}, }; +/// A singular scope +/// +/// Contains variables, functions, and mixins #[derive(Debug, Default)] pub(crate) struct Scope { pub vars: BTreeMap,