Skip to main content

redact_text

Function redact_text 

Source
pub fn redact_text(text: &str, secrets: &[String]) -> String
Expand description

Replace every occurrence of a secret in text with the marker.