rustdoc::theme

Function parse_property_name

Source
fn parse_property_name(
    iter: &mut Peekable<Chars<'_>>,
) -> Result<Option<String>, String>
Expand description

Returns a CSS property name. Ends when encountering a : character.

If the : character isn’t found, returns None.

If a { character is encountered, returns an error.