aboutsummaryrefslogtreecommitdiffstats
path: root/components/selectors/builder.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/selectors/builder.rs')
-rw-r--r--components/selectors/builder.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/components/selectors/builder.rs b/components/selectors/builder.rs
index b548ceb83ce..c3e733cbeb0 100644
--- a/components/selectors/builder.rs
+++ b/components/selectors/builder.rs
@@ -84,12 +84,6 @@ impl<Impl: SelectorImpl> SelectorBuilder<Impl> {
self.current_len = 0;
}
- /// Returns true if no simple selectors have ever been pushed to this builder.
- #[inline(always)]
- pub fn is_empty(&self) -> bool {
- self.simple_selectors.is_empty()
- }
-
/// Returns true if combinators have ever been pushed to this builder.
#[inline(always)]
pub fn has_combinators(&self) -> bool {