pub fn sanitized(s: &str) -> Option<String>Expand description
Returns a display-safe copy of s, or None if it was already safe.
The None case is the common one by a wide margin, and returning it avoids
allocating for the overwhelming majority of cells.