Improve style
This commit is contained in:
parent
9aac0c9ae3
commit
1bde828141
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@ pub struct ModifierInfo {
|
|||
}
|
||||
|
||||
impl From<(char, &'static str, u64)> for ModifierInfo {
|
||||
fn from(value: (char, &'static str, u64)) -> Self {
|
||||
Self { modifier: value.0, result: value.1, size: value.2 }
|
||||
fn from((modifier, result, size): (char, &'static str, u64)) -> Self {
|
||||
Self { modifier, result, size }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue