move Comment enum to common

This commit is contained in:
Connor Skees 2020-07-07 19:37:48 -04:00
parent fd4073aaca
commit b729d7b257
2 changed files with 6 additions and 6 deletions

View File

@ -113,3 +113,8 @@ impl BitOr<ContextFlag> for ContextFlags {
Self(self.0 | rhs.0)
}
}
pub(crate) enum Comment {
Silent,
Loud(String),
}

View File

@ -26,7 +26,7 @@ use crate::{
{Cow, Token},
};
use common::{ContextFlags, NeverEmptyVec, SelectorOrStyle};
use common::{Comment, ContextFlags, NeverEmptyVec, SelectorOrStyle};
pub(crate) use value::{HigherIntermediateValue, ValueVisitor};
@ -43,11 +43,6 @@ mod throw_away;
mod value;
mod variable;
pub(crate) enum Comment {
Silent,
Loud(String),
}
#[derive(Debug, Clone)]
pub(crate) enum Stmt {
RuleSet {