MCPcopy Create free account
hub / github.com/Stranger6667/css-inline / compile

Method compile

css-inline/src/html/selectors/mod.rs:89–91  ·  view source on GitHub ↗
(selectors: &str)

Source from the content-addressed store, hash-verified

87 /// Compile a list of selectors.
88 #[inline]
89 pub(super) fn compile(selectors: &str) -> Result<Selectors, ParseError<'_>> {
90 parse(selectors).map(|list| Selectors(list.slice().into()))
91 }
92
93 /// Iterator over selectors.
94 #[inline]

Callers

nothing calls this directly

Calls 2

parseFunction · 0.85
SelectorsClass · 0.85

Tested by

no test coverage detected