pub fn redact(s: impl Debug) -> impl Debug
Expand description
Returns a “redacted” debug implementation. When running with soft assertions
enabled or with the alternate / #
flag specified, this prints identically
to the underlying value; otherwise, we print the basic debug representation with
alphanumeric characters replaced. (For example, the number -3.6
will print as
<-#.#>
.)