From f9fdf5f051b6cd9e5725c3b7cf1371486753c6bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jelmer=20Vernoo=C4=B3?= Date: Fri, 29 Sep 2023 14:12:31 +0100 Subject: [PATCH] Clarify that WordSeparator is an enum rather than a trait --- src/word_separators.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/word_separators.rs b/src/word_separators.rs index dc74e5e2..e06e9b88 100644 --- a/src/word_separators.rs +++ b/src/word_separators.rs @@ -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;