Function rustdoc::theme::parse_rules

source ·
fn parse_rules(
    content: &str,
    selector: String,
    iter: &mut Peekable<Chars<'_>>,
    paths: &mut FxHashMap<String, CssPath>
) -> Result<(), String>
Expand description

This is used to parse inside a CSS {} block. If we encounter a new { inside it, we consider it as a new block and therefore recurse into parse_rules.