(&self)
| 100 | /// If there are multiple selectors (comma-separated), returns None. |
| 101 | #[inline] |
| 102 | pub(crate) fn anchor(&self) -> SelectorAnchor<'_> { |
| 103 | // For multiple selectors, we fall back to scanning all elements |
| 104 | match self.0.as_slice() { |
| 105 | [single] => selector_anchor(single), |
| 106 | _ => SelectorAnchor::None, |
| 107 | } |
| 108 | } |
| 109 | } |
| 110 | |
| 111 | #[cfg(test)] |
no test coverage detected