parse_unchecked

Function parse_unchecked 

Source
pub fn parse_unchecked(input: &str) -> Result<Tree<'_>>
Expand description

Parse CSS text to a Tree, without capturing error details, for maximum performance without any error details when parsing fails.

ยงExample

let ast = procss::parse_unchecked("div { .open { color: red; }}").unwrap();