commit | a0f63026acc8e280fd9d9cf88026972c9566d1a7 | [log] [tgz] |
---|---|---|
author | James Farrell <[email protected]> | Thu May 23 16:18:20 2024 +0000 |
committer | Automerger Merge Worker <[email protected]> | Thu May 23 16:18:20 2024 +0000 |
tree | c8e68230fc3c92a4f58b2f170d7eb33fc98b4c08 | |
parent | c7f63f7b4b1351fed8a25fbe194226d4f7784725 [diff] | |
parent | 0e2c6da914011a2f852139c9857c5bea1906c95d [diff] |
Delete cargo_embargo intermediate am: 0e2c6da914 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/ident_case/+/3100137 Change-Id: Idabc8af5cf200bfc2c75a090c09592dd7b1da7d3 Signed-off-by: Automerger Merge Worker <[email protected]>
Crate for manipulating case of identifiers in Rust programs.
snake_case
, lowercase
, camelCase
, PascalCase
, SCREAMING_SNAKE_CASE
, and kebab-case
assert_eq!("helloWorld", RenameRule::CamelCase.apply_to_field("hello_world")); assert_eq!("i_love_serde", RenameRule::SnakeCase.apply_to_variant("ILoveSerde"));