Skip to content

Commit

Permalink
Comment update.
Browse files Browse the repository at this point in the history
  • Loading branch information
sciguyryan committed Feb 4, 2025
1 parent a3f5dc0 commit 1c97c9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions redox-core/src/parsing/asm_parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ impl<'a> AsmParser<'a> {
value_found = true;
}

// Could the argument be a u8 immediate.
// Could the argument be a u8 immediate?
if let Ok(val) = AsmParser::try_parse_u8_immediate(substring) {
if !value_found {
arguments.push(Argument::UnsignedInt(val as u128));
Expand All @@ -283,7 +283,7 @@ impl<'a> AsmParser<'a> {
value_found = true;
}

// Could the argument could be a u32 immediate.
// Could the argument could be a u32 immediate?
if let Ok(val) = AsmParser::try_parse_u32_immediate(substring) {
if !value_found {
arguments.push(Argument::UnsignedInt(val as u128));
Expand Down

0 comments on commit 1c97c9f

Please sign in to comment.