redact 0.1.11

A simple library for keeping secrets out of logs.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::Secret;

use core::fmt;
use std::error::Error;

impl<E: Error> fmt::Display for Secret<E> {
    #[inline]
    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
        <Self as fmt::Debug>::fmt(self, f)
    }
}

impl<E: Error> Error for Secret<E> {}