mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-08 19:33:53 +01:00
Fix fmt
This commit is contained in:
parent
e645c9fc7b
commit
f9615fc5ab
1 changed files with 5 additions and 2 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue