mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
Fix clippy warnings
This commit is contained in:
parent
f3d85bce3c
commit
3dbec4760b
1 changed files with 2 additions and 0 deletions
|
@ -3889,6 +3889,7 @@ mod tests {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[allow(clippy::unusual_byte_groupings)]
|
||||
fn test_encode_f32_to_imm8() {
|
||||
// See ARM manual Table C2-1: A64 Floating-point modified immediate constants
|
||||
assert_eq!(encode_f32_to_imm8(2.0), Some(0b0_000_0000));
|
||||
|
@ -3938,6 +3939,7 @@ mod tests {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[allow(clippy::unusual_byte_groupings)]
|
||||
fn test_encode_f64_to_imm8() {
|
||||
// See ARM manual Table C2-1: A64 Floating-point modified immediate constants
|
||||
assert_eq!(encode_f64_to_imm8(2.0), Some(0b0_000_0000));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue