mirror of
https://github.com/sharkdp/bat.git
synced 2024-11-22 07:43:39 +01:00
Suppress clippy warning for MappingTarget
in build script
This commit is contained in:
parent
ad628c0471
commit
822e81bb24
@ -12,6 +12,7 @@ use walkdir::WalkDir;
|
|||||||
/// Known mapping targets.
|
/// Known mapping targets.
|
||||||
///
|
///
|
||||||
/// Corresponds to `syntax_mapping::MappingTarget`.
|
/// Corresponds to `syntax_mapping::MappingTarget`.
|
||||||
|
#[allow(clippy::enum_variant_names)]
|
||||||
#[derive(Clone, Debug, Eq, PartialEq, Hash, DeserializeFromStr)]
|
#[derive(Clone, Debug, Eq, PartialEq, Hash, DeserializeFromStr)]
|
||||||
pub enum MappingTarget {
|
pub enum MappingTarget {
|
||||||
MapTo(String),
|
MapTo(String),
|
||||||
|
Loading…
Reference in New Issue
Block a user