Skip to main content

strip_comments

Function strip_comments 

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

Remove html style comments from a string.

The HTML comments must start at the beginning of a line and stop at the end.