pub fn display(value: impl Display) -> StringExpand description
Formats runtime diagnostic detail in debug builds and strips it in release builds.
The argument is always evaluated, then either rendered (debug) or dropped
(release). Prefer detail! when the argument has nontrivial cost or side
effects.
In debug builds the result is the rendered value; in release builds it is empty.
let _ = redacted_error::display("127.0.0.1:8080");