Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
//! within those words in this manner:
//!
//! 1. If an uppercase character is followed by lowercase letters, a word
//! boundary is considered to be just prior to that uppercase character.
//! boundary is considered to be just prior to that uppercase character.
//! 2. If multiple uppercase characters are consecutive, they are considered to
//! be within a single word, except that the last will be part of the next word
//! if it is followed by lowercase characters (see rule 1).
//! be within a single word, except that the last will be part of the next wo
//! word if it is followed by lowercase characters (see rule 1).
//!
//! That is, "HelloWorld" is segmented `Hello|World` whereas "XMLHttpRequest" is
//! segmented `XML|Http|Request`.
Expand Down
1 change: 0 additions & 1 deletion src/train.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ mod tests {
t!(test6: "SHOUTY_SNAKE_CASE" => "Shouty-Snake-Case");
t!(test7: "snake_case" => "Snake-Case");
t!(test8: "this-contains_ ALLKinds OfWord_Boundaries" => "This-Contains-All-Kinds-Of-Word-Boundaries");
#[cfg(feature = "unicode")]
t!(test9: "XΣXΣ baffle" => "Xσxς-Baffle");
t!(test10: "XMLHttpRequest" => "Xml-Http-Request");
t!(test11: "FIELD_NAME11" => "Field-Name11");
Expand Down
Loading