pub fn redact_text(text: &str, secrets: &[String]) -> String
Replace every occurrence of a secret in text with the marker.
text