summaryrefslogtreecommitdiffstats
path: root/vendor/heck/src/lib.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 02:49:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 02:49:50 +0000
commit9835e2ae736235810b4ea1c162ca5e65c547e770 (patch)
tree3fcebf40ed70e581d776a8a4c65923e8ec20e026 /vendor/heck/src/lib.rs
parentReleasing progress-linux version 1.70.0+dfsg2-1~progress7.99u1. (diff)
downloadrustc-9835e2ae736235810b4ea1c162ca5e65c547e770.tar.xz
rustc-9835e2ae736235810b4ea1c162ca5e65c547e770.zip
Merging upstream version 1.71.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/heck/src/lib.rs')
-rw-r--r--vendor/heck/src/lib.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/vendor/heck/src/lib.rs b/vendor/heck/src/lib.rs
index 21a45f0be..49bfb0efd 100644
--- a/vendor/heck/src/lib.rs
+++ b/vendor/heck/src/lib.rs
@@ -1,7 +1,7 @@
//! **heck** is a case conversion library.
//!
//! This library exists to provide case conversion between common cases like
-//! CamelCase and snake_case. It is intended to be unicode aware, internally,
+//! CamelCase and snake_case. It is intended to be unicode aware, internally
//! consistent, and reasonably well performing.
//!
//! ## Definition of a word boundary
@@ -37,6 +37,7 @@
//! 5. SHOUTY_SNAKE_CASE
//! 6. Title Case
//! 7. SHOUTY-KEBAB-CASE
+//! 8. Train-Case
#![deny(missing_docs)]
#![forbid(unsafe_code)]
@@ -46,6 +47,7 @@ mod shouty_kebab;
mod shouty_snake;
mod snake;
mod title;
+mod train;
mod upper_camel;
pub use kebab::{AsKebabCase, ToKebabCase};
@@ -56,6 +58,7 @@ pub use shouty_snake::{
};
pub use snake::{AsSnakeCase, AsSnakeCase as AsSnekCase, ToSnakeCase, ToSnekCase};
pub use title::{AsTitleCase, ToTitleCase};
+pub use train::{AsTrainCase, ToTrainCase};
pub use upper_camel::{
AsUpperCamelCase, AsUpperCamelCase as AsPascalCase, ToPascalCase, ToUpperCamelCase,
};