consume-output 0.1.1

Adds a trait to consume the output of a function.
Documentation
1
2
3
4
5
6
7
8
/// Deletes the output of a function
pub trait Consume {
    fn consume(&self) {
        return;
    }
}

impl<T> Consume for T {}