style: Remove MatchingContext mutability FIXME that no longer applies

Differential Revision: https://phabricator.services.mozilla.com/D175028
This commit is contained in:
Zach Hoffman 2023-04-10 08:47:18 +00:00 committed by Martin Robinson
parent 5dd35ac6cd
commit dcfef6cdbb

View file

@ -132,9 +132,6 @@ where
visited_handling: VisitedHandlingMode, visited_handling: VisitedHandlingMode,
/// The current nesting level of selectors that we're matching. /// The current nesting level of selectors that we're matching.
///
/// FIXME(emilio): Consider putting the mutable stuff in a Cell, then make
/// MatchingContext immutable again.
nesting_level: usize, nesting_level: usize,
/// Whether we're inside a negation or not. /// Whether we're inside a negation or not.