Skip to main content

strip_comments

Function strip_comments 

Source
pub fn strip_comments(s: &str) -> String
Expand description

Remove /* ... */ comments from a selector or value run, leaving quoted strings (which may contain /*) untouched.