Suppress clippy warning for `MappingTarget` in build script

This commit is contained in:
cyqsimon 2023-11-05 10:34:28 +08:00
parent ad628c0471
commit 822e81bb24
No known key found for this signature in database
GPG Key ID: 1D8CE2F297390D65
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ use walkdir::WalkDir;
/// Known mapping targets.
///
/// Corresponds to `syntax_mapping::MappingTarget`.
#[allow(clippy::enum_variant_names)]
#[derive(Clone, Debug, Eq, PartialEq, Hash, DeserializeFromStr)]
pub enum MappingTarget {
MapTo(String),