chore: made clippy happy

This commit is contained in:
MaxOhn
2023-12-29 11:49:13 +01:00
parent d9bf3240eb
commit fecc3b1941
3 changed files with 5 additions and 8 deletions
+1 -4
View File
@@ -6,10 +6,7 @@ pub(crate) enum MapOrElse<M, E> {
Else(E),
}
impl<M, E> MapOrElse<M, E>
where
M: AsRef<Beatmap>,
{
impl<M, E> MapOrElse<M, E> {
/// Return a mutable reference to `Else`.
///
/// If `self` is of variant `Map`, store `other` in `self`, and return a