Skip to content

Commit

Permalink
Clippy appeasement
Browse files Browse the repository at this point in the history
  • Loading branch information
harrison-e committed Dec 10, 2024
1 parent a760579 commit ab74f81
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion libs/calypso-cangen/src/can_gen_decode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ impl CANGenDecode for CANPoint {
}
}
_ => match self.signed {
Some(true) if self.ieee754_f32 == None => {
Some(true) if self.ieee754_f32.is_none() => {
quote! { reader.read_signed_in::<#size_literal, i32>().unwrap() }
}
_ => quote! { reader.read_in::<#size_literal, u32>().unwrap() },
Expand Down
8 changes: 3 additions & 5 deletions libs/calypso-cangen/src/can_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ use serde::Deserialize;

// TODO: Implement MsgType

/**
* Classes to represent levels of the CAN hierarchy
* For more specific descriptions, refer to the README
* in Embedded-Base/cangen
*/
// Classes to represent levels of the CAN hierarchy
// For more specific descriptions, refer to the README
// in Embedded-Base/cangen

/**
* Class representing a CAN message
Expand Down

0 comments on commit ab74f81

Please sign in to comment.