Skip to main content

redact_text

Function redact_text 

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

Free-text scrub through the shared, high-precision rules ([scrub_secret_patterns] plus the word-level known-prefix scrub). Returns the input unchanged when clean.