summaryrefslogtreecommitdiffstats
path: root/vendor/heck/src/lib.rs
diff options
context:
space:
mode:
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,
};