Skip to main content

scrub

Function scrub 

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

text with every word that has a secret’s shape replaced by WITHHELD, and the rest as it was (line breaks and spacing too); the text itself when no word has one.