Skip to content

Commit

Permalink
Clarify that WordSeparator is an enum rather than a trait
Browse files Browse the repository at this point in the history
  • Loading branch information
jelmer committed Sep 29, 2023
1 parent 56ea536 commit f9fdf5f
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 f9fdf5f

Please sign in to comment.