Skip to main content

tuwunel_core/utils/math/
expect_into.rs

1pub trait ExpectInto {
2	#[inline]
3	#[must_use]
4	fn expect_into<Dst: TryFrom<Self>>(self) -> Dst
5	where
6		Self: Sized,
7	{
8		super::expect_into::<Dst, Self>(self)
9	}
10}
11
12impl<T> ExpectInto for T {}