pub fn css_ok(self) -> Result<Self, BadSelector> {
        if self.has_backref() {
            let sel = self.to_string();
            Err(BadSelector::Backref(input_span(sel.as_bytes()).into()))
        } else {
            Ok(self)
        }
    }
/// Validate that this selector is ok to use in css.
///
/// `Selectors` can contain backref (`&`), but those must be
/// resolved before using the `Selectors` in css.
Validate that this selector is ok to use in css.
Validate that this selector is ok to use in css .
pub fn css_ok(self) -> Result<Self, BadSelector> {
        if self.has_backref() {
            let sel = self.to_string();
            Err(BadSelector::Backref(input_span(sel.as_bytes()).into()))
        } else {
            Ok(self)
        }
    }
pub fn css_ok ( self ) -> Result < Self , BadSelector > { if self . has_backref ( ) { let sel = self . to_string ( ) ; Err ( BadSelector :: Backref ( input_span ( sel . as_bytes ( ) ) . into ( ) ) ) } else { Ok ( self ) } }
Validate that this selector is ok to use in css.
Validate that this selector is ok to use in css .
self
self