impl From instead of Into
This commit is contained in:
parent
393e58d489
commit
ee349d9083
1 changed files with 3 additions and 3 deletions
|
@ -39,9 +39,9 @@ impl From<CardClientBox> for CardApp {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Into<CardClientBox> for CardApp {
|
impl From<CardApp> for CardClientBox {
|
||||||
fn into(self) -> CardClientBox {
|
fn from(card_app: CardApp) -> CardClientBox {
|
||||||
self.card_client
|
card_app.card_client
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue