Skip to content

Commit c0e46c2

Browse files
jasonishvictorjulien
authored andcommitted
rust: fix clippy warning for unused import
While debug_validate_bug_on is still used, it does not need to be imported directly, as that macro is marked with `macro_export`, making it globally available to the crate. (cherry picked from commit 50224f2)
1 parent 2af9ae4 commit c0e46c2

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

rust/src/modbus/detect.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
*/
1717

1818
use super::modbus::ModbusTransaction;
19-
use crate::debug_validate_bug_on;
2019
use lazy_static::lazy_static;
2120
use regex::Regex;
2221
use sawp_modbus::{AccessType, CodeCategory, Data, Flags, FunctionCode, Message};

0 commit comments

Comments
 (0)