derive_more 2.1.1

Adds #[derive(x)] macros for more traits
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! [`core::cmp::AssertParamIsEq`] reimplementation.

use ::core;
use core::marker::PhantomData;
use core::prelude::v1::*;

/// Same as [`core::cmp::AssertParamIsEq`], but reimplemented on our side, because the original is
/// not a part of stable API and could be changed any time.
#[allow(missing_debug_implementations)]
pub struct AssertParamIsEq<T: Eq + ?Sized> {
    _field: PhantomData<T>,
}