erratic 0.2.4

Handling errors in an efficient way.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Payload placeholder for [`Builder`][crate::Builder].
use std::fmt::{self, Display};

/// A zero-sized payload placeholder for [Error][crate::Error].
#[derive(Debug)]
pub struct Empty;

impl Display for Empty {
    fn fmt(&self, _f: &mut fmt::Formatter<'_>) -> fmt::Result {
        Ok(())
    }
}