Function ring::test::compile_time_assert_eq
source · pub fn compile_time_assert_eq<T: Eq>()
Expand description
compile_time_assert_eq::<T>();
fails to compile if T
doesn’t
implement Eq
.
pub fn compile_time_assert_eq<T: Eq>()
compile_time_assert_eq::<T>();
fails to compile if T
doesn’t
implement Eq
.