Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Peyton-McKee committed Feb 27, 2024
1 parent a70e877 commit 9ca751b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ fn read_can(mut publisher: Box<dyn Client + Send>, can_interface: &str) {
}
};
loop {
let msg = match { socket.read_frame() } {
let msg = match socket.read_frame() {
Ok(msg) => msg,
Err(err) => {
println!("Failed to read CAN frame: {}", err);
Expand Down

0 comments on commit 9ca751b

Please sign in to comment.