From f9615fc5ab77367fac20f97b25b46e80c937bf0f Mon Sep 17 00:00:00 2001 From: Hirrolot Date: Wed, 23 Mar 2022 07:52:04 +0600 Subject: [PATCH] Fix fmt --- src/rename_rules.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/rename_rules.rs b/src/rename_rules.rs index 620d3fc2..e1ef4a1b 100644 --- a/src/rename_rules.rs +++ b/src/rename_rules.rs @@ -1,6 +1,9 @@ // Some concepts are from Serde. -use heck::{ToPascalCase, ToLowerCamelCase, ToSnakeCase, ToShoutySnakeCase, ToKebabCase, ToShoutyKebabCase}; +use heck::{ + ToKebabCase, ToLowerCamelCase, ToPascalCase, ToShoutyKebabCase, + ToShoutySnakeCase, ToSnakeCase, +}; /// Apply a renaming rule to an enum variant, /// returning the version expected in the source. @@ -111,4 +114,4 @@ mod tests { test_eq!("Hello-World", "HELLO-WORLD"); test_eq!("helloWorld", "HELLO-WORLD"); } -} \ No newline at end of file +}