applies rustfmt to cleanup

uses std::env::current_dir to find out where the tests are running from
This commit is contained in:
2025-08-14 07:48:23 -04:00
parent 6d51a4d3a6
commit e7e20f1d36
9 changed files with 173 additions and 65 deletions
+1 -3
View File
@@ -1,5 +1,4 @@
pub struct NumberSystemConversion {}
impl NumberSystemConversion {
/// byte_to_bool
///
@@ -94,7 +93,6 @@ impl NumberSystemConversion {
(high as u16) << 8 | low as u16
}
/// clear_high_bits
///
/// Clear the 8 MSB of the value
@@ -102,7 +100,7 @@ impl NumberSystemConversion {
/// ex: 0xffff -> 0x00ff
/// 0xabcd -> 0x00cd
pub fn clear_high_bits(to_clear: u16) -> u16 {
to_clear & 0x00ff
to_clear & 0x00ff
}
/// clear_low_bits