pub fn sanitized(s: &str) -> Option<String>
A display-safe copy of s, or None if already safe (the usual case, sparing an allocation).
s
None