disuse/
lib.rs

1#![doc = include_str!("../README.md")]
2#![no_std]
3
4/// Receiver type for disuse return value.
5#[derive(Debug, Default)]
6pub struct Disuse;
7
8/// Dispose of the return value.
9/// Type `T` should implement [Clone].
10impl<T: Clone> From<T> for Disuse {
11    fn from(_: T) -> Self { Self }
12}