From dcfef6cdbb8b4ac099a8b7d66eac269d45e8881c Mon Sep 17 00:00:00 2001 From: Zach Hoffman Date: Mon, 10 Apr 2023 08:47:18 +0000 Subject: [PATCH] style: Remove MatchingContext mutability FIXME that no longer applies Differential Revision: https://phabricator.services.mozilla.com/D175028 --- components/selectors/context.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/components/selectors/context.rs b/components/selectors/context.rs index 1bdad188e81..8abfebbf78a 100644 --- a/components/selectors/context.rs +++ b/components/selectors/context.rs @@ -132,9 +132,6 @@ where visited_handling: VisitedHandlingMode, /// 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, /// Whether we're inside a negation or not.