From d17ebafb386e78d0e068d95484e6c5ded0aacab8 Mon Sep 17 00:00:00 2001 From: Hirrolot Date: Thu, 6 Oct 2022 23:08:34 +0600 Subject: [PATCH] Remove `#[derive(Debug)]` For some reason, it doesn't allow publishing a new release. --- src/command_enum.rs | 1 - src/fields_parse.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/command_enum.rs b/src/command_enum.rs index 2a882e17..55f37610 100644 --- a/src/command_enum.rs +++ b/src/command_enum.rs @@ -3,7 +3,6 @@ use crate::{ fields_parse::ParserType, rename_rules::RenameRule, Result, }; -#[derive(Debug)] pub(crate) struct CommandEnum { pub prefix: String, pub description: Option, diff --git a/src/fields_parse.rs b/src/fields_parse.rs index 599aa0c4..caf53127 100644 --- a/src/fields_parse.rs +++ b/src/fields_parse.rs @@ -3,7 +3,7 @@ use syn::{Fields, FieldsNamed, FieldsUnnamed, Type}; use crate::{attr::AttrValue, error::Result}; -#[derive(Debug, Clone)] +#[derive(Clone)] pub(crate) enum ParserType { Default, Split { separator: Option },