Skip to content

Commit d71872f

Browse files
committed
od: allow function pointer comparisons
to suppress warnings from unpredictable_function_pointer_comparisons lint
1 parent 8282bb9 commit d71872f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/uu/od/src/formatter_item_info.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use std::fmt;
88

99
#[allow(clippy::enum_variant_names)]
10+
#[allow(unpredictable_function_pointer_comparisons)]
1011
#[derive(Clone, Copy, PartialEq, Eq)]
1112
pub enum FormatWriter {
1213
IntWriter(fn(u64) -> String),

0 commit comments

Comments
 (0)