mirror of
https://github.com/uutils/coreutils.git
synced 2025-12-23 08:47:37 +00:00
od: allow function pointer comparisons
to suppress warnings from unpredictable_function_pointer_comparisons lint
This commit is contained in:
parent
ca20549477
commit
10dbffa466
1 changed files with 1 additions and 0 deletions
|
|
@ -7,6 +7,7 @@
|
|||
use std::fmt;
|
||||
|
||||
#[allow(clippy::enum_variant_names)]
|
||||
#[allow(unpredictable_function_pointer_comparisons)]
|
||||
#[derive(Clone, Copy, PartialEq, Eq)]
|
||||
pub enum FormatWriter {
|
||||
IntWriter(fn(u64) -> String),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue