fn from_str(s: &str) -> Result<ScopeSelectors, ParseScopeError> {
        let mut selectors = Vec::new();
        for selector in s.split(&[',', '|'][..]) {
            selectors.push(ScopeSelector::from_str(selector)?)
        }
        Ok(ScopeSelectors { selectors })
    }
/// Parses a series of selectors separated by commas or pipes
Parses a series of selectors separated by commas or pipes
Parses a series of selectors separated by commas or pipes
fn from_str(s: &str) -> Result<ScopeSelectors, ParseScopeError> {
        let mut selectors = Vec::new();
        for selector in s.split(&[',', '|'][..]) {
            selectors.push(ScopeSelector::from_str(selector)?)
        }
        Ok(ScopeSelectors { selectors })
    }
fn from_str ( s : & str ) -> Result < ScopeSelectors , ParseScopeError > { let mut selectors = Vec :: new ( ) ; for selector in s . split ( & [ ',' , '|' ] [ .. ] ) { selectors . push ( ScopeSelector :: from_str ( selector ) ? ) } Ok ( ScopeSelectors { selectors } ) }
Parses a series of selectors separated by commas or pipes
Parses a series of selectors separated by commas or pipes
s
&str
s
&str