macro_rules! redacted_debug {
($f:ident) => { ... };
}Expand description
Produces a debug label for an optional value without revealing its contents.
The macro expands to "Some(<redacted>)" when the identifier reports a
present value and to "None" otherwise. Its argument must be an identifier
supporting an is_some method.