Skip to main content

scrub

Function scrub 

Source
pub fn scrub(text: &str) -> String
Expand description

Nix text with block comments, line comments, and string contents blanked, so a word inside any of them never reads as syntax.