Skip to content

Commit

Permalink
Improve style
Browse files Browse the repository at this point in the history
  • Loading branch information
veera-sivarajan committed Mar 13, 2024
1 parent 9aac0c9 commit 1bde828
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/rustc_target/src/asm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
}
}

Expand Down

0 comments on commit 1bde828

Please sign in to comment.