Skip to content

Commit

Permalink
Fix future trivial_casts lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
kpreid committed Jan 9, 2024
1 parent 6777ba1 commit 17a2d8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion all-is-cubes/src/universe/members.rs
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ macro_rules! member_enums_and_impls {
&self,
_target: &(),
) -> Result<Self::CommitCheck, transaction::PreconditionFailed> {
Ok(match self {
Ok::<Self::CommitCheck, transaction::PreconditionFailed>(match self {
Self::Noop => Box::new(()),
$( Self::$member_type(t) => Box::new(t.check(&())?), )*
})
Expand Down

0 comments on commit 17a2d8a

Please sign in to comment.