Debian Codegraph @

debian/missing-sources/derive_more/src/cmp.rs

raw
1 //! [`core::cmp::AssertParamIsEq`] reimplementation.
2
3 use ::core;
4 use core::marker::PhantomData;
5 use core::prelude::v1::*;
6
7 /// Same as [`core::cmp::AssertParamIsEq`], but reimplemented on our side, because the original is
8 /// not a part of stable API and could be changed any time.
9 #[allow(missing_debug_implementations)]
10 pub struct AssertParamIsEq<T: Eq + ?Sized> {
11 _field: PhantomData<T>,
12 }