From 0835a0898192a54e878ff5726062b6f1695f12b0 Mon Sep 17 00:00:00 2001 From: Bauke Date: Fri, 28 Oct 2022 14:37:42 +0200 Subject: [PATCH] Use snake_case for renaming enums. --- source/config/exit_action.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/config/exit_action.rs b/source/config/exit_action.rs index 0ba08cd..016fd9a 100644 --- a/source/config/exit_action.rs +++ b/source/config/exit_action.rs @@ -4,7 +4,7 @@ use serde::{Deserialize, Serialize}; /// Action to take on hook exit. #[derive(Debug, Deserialize, Serialize)] -#[serde(rename_all = "lowercase")] +#[serde(rename_all = "snake_case")] pub enum ExitAction { Continue, Stop,