Files
Notes/notes-service/vendor/derive_more/src/cmp.rs
T
2026-08-01 16:11:49 +03:00

13 lines
398 B
Rust

//! [`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>,
}