Merge branch 'master' into v0.5.1

This commit is contained in:
Hirrolot 2022-03-23 07:53:41 +06:00
commit c32e52dc47

View file

@ -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");
}
}
}