This wasn't adding much, and sets consistent style for implementations on other types (e.g. FixedDecimal
) going forward.
CFJKYXUX4FF2DVAOJ3RRTI4JZPP5GMMDTJCEYM2IS57SCRKGZI6AC
impl RelativeTime {
pub fn new(timestamp: Timestamp) -> Self {
Self(timestamp)
}
}
impl<W: std::io::Write> Localize<W> for RelativeTime {
impl<W: std::io::Write> Localize<W> for Timestamp {