Skip to content

Commit 1bde828

Browse files
Improve style
1 parent 9aac0c9 commit 1bde828

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_target/src/asm

1 file changed

+2
-2
lines changed

compiler/rustc_target/src/asm/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ pub struct ModifierInfo {
1313
}
1414

1515
impl From<(char, &'static str, u64)> for ModifierInfo {
16-
fn from(value: (char, &'static str, u64)) -> Self {
17-
Self { modifier: value.0, result: value.1, size: value.2 }
16+
fn from((modifier, result, size): (char, &'static str, u64)) -> Self {
17+
Self { modifier, result, size }
1818
}
1919
}
2020

0 commit comments

Comments
 (0)