diff --git a/types/src/action.rs b/types/src/action.rs index 068a426..21621bc 100644 --- a/types/src/action.rs +++ b/types/src/action.rs @@ -26,8 +26,10 @@ impl Display for Action { } impl From<&CardPlay> for Action { - fn from(&card_play: &CardPlay) -> Self { - Action::PlayCards { card_play } + fn from(card_play: &CardPlay) -> Self { + Action::PlayCards { + card_play: *card_play, + } } }