Currently we cannot create const SELECTOR: Selector = ... object, due to Selector::parse not being const.
This in turn would require cssparser::Tokenizer::new() and cssparser::Tokenizer::with_first_line_number() to be const as well.
I think that this would be possible to do.
Currently we cannot create
const SELECTOR: Selector = ...object, due toSelector::parsenot being const.This in turn would require
cssparser::Tokenizer::new()andcssparser::Tokenizer::with_first_line_number()to be const as well.I think that this would be possible to do.