🩹 convert: remove #[must_use] from result_elim
This commit is contained in:
1 parent
266fa13165
commit
44e27e9d23
1 file changed
-1
@@ -43,7 +43,6 @@ impl Empty for Infallible {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
#[must_use]
|
|
||||||
pub fn result_elim<T, E>(res: Result<T, E>) -> T
|
pub fn result_elim<T, E>(res: Result<T, E>) -> T
|
||||||
where
|
where
|
||||||
E: Empty,
|
E: Empty,
|
||||||
|
|||||||
Reference in new issue
Block a user