Skip to content

Commit

Permalink
Merge pull request #520 from jelmer/word-sep-not-trait
Browse files Browse the repository at this point in the history
Clarify that WordSeparator is an enum rather than a trait
  • Loading branch information
mgeisler authored Sep 30, 2023
2 parents 56ea536 + f9fdf5f commit 04d36f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/word_separators.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
//! sequence of emojis is another example where line breaks might be
//! wanted even if there are no whitespace to be found.
//!
//! The [`WordSeparator`] trait is responsible for determining where
//! there words are in a line of text. Please refer to the trait and
//! the structs which implement it for more information.
//! The [`WordSeparator`] enum is responsible for determining where
//! there words are in a line of text. Please refer to the enum and
//! its variants for more information.
#[cfg(feature = "unicode-linebreak")]
use crate::core::skip_ansi_escape_sequence;
Expand Down

0 comments on commit 04d36f1

Please sign in to comment.