Skip to content

Commit 791ba53

Browse files
Reduce size of ModifierInfo
1 parent 5974fe8 commit 791ba53

File tree

1 file changed

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

1 file changed

+3
-3
lines changed

compiler/rustc_target/src/asm/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ use std::str::FromStr;
99
pub struct ModifierInfo {
1010
pub modifier: char,
1111
pub result: &'static str,
12-
pub size: u64,
12+
pub size: u16,
1313
}
1414

15-
impl From<(char, &'static str, u64)> for ModifierInfo {
16-
fn from((modifier, result, size): (char, &'static str, u64)) -> Self {
15+
impl From<(char, &'static str, u16)> for ModifierInfo {
16+
fn from((modifier, result, size): (char, &'static str, u16)) -> Self {
1717
Self { modifier, result, size }
1818
}
1919
}

0 commit comments

Comments
 (0)