diff options
| author | Veera <sveera.2001@gmail.com> | 2024-04-10 15:48:22 -0400 |
|---|---|---|
| committer | Veera <sveera.2001@gmail.com> | 2024-04-10 15:48:22 -0400 |
| commit | 791ba531c05f39e9ce1ff23887462de3724914df (patch) | |
| tree | 664dae4611ed98f201f1b4490258c3ca1f21d1b3 /compiler/rustc_target/src/asm | |
| parent | 5974fe87c4d711949caa64fc1e8366685c8fc190 (diff) | |
Reduce size of `ModifierInfo`
Diffstat (limited to 'compiler/rustc_target/src/asm')
| -rw-r--r-- | compiler/rustc_target/src/asm/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/rustc_target/src/asm/mod.rs b/compiler/rustc_target/src/asm/mod.rs index 2e04dca98c5..4b391ea640e 100644 --- a/compiler/rustc_target/src/asm/mod.rs +++ b/compiler/rustc_target/src/asm/mod.rs @@ -9,11 +9,11 @@ use std::str::FromStr; pub struct ModifierInfo { pub modifier: char, pub result: &'static str, - pub size: u64, + pub size: u16, } -impl From<(char, &'static str, u64)> for ModifierInfo { - fn from((modifier, result, size): (char, &'static str, u64)) -> Self { +impl From<(char, &'static str, u16)> for ModifierInfo { + fn from((modifier, result, size): (char, &'static str, u16)) -> Self { Self { modifier, result, size } } } |
