Skip to content

Commit

Permalink
fix: Ignore test function during clippy check
Browse files Browse the repository at this point in the history
  • Loading branch information
matteodev8 committed Oct 6, 2024
1 parent 85b3b6b commit 708cde0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/commands/serial.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ fn serial_session(device: &str, mut baud_rate: u32) -> Result<TTYPort, serialpor
}
}

#[allow(clippy::unused_io_amount)]
pub(crate) fn test_serial() {
let mut serial = serial_session("/dev/ttys002", 9600).unwrap();
serial
Expand Down

0 comments on commit 708cde0

Please sign in to comment.