//! The product-wide retired vocabulary, shared with core's language sweep. pub use cotton_core::language::retired_terms::{RetiredTerm, RETIRED_TERMS}; /// Every retired term one string breaks. /// /// Core's sweep, not a second one. The dictionary is compiled there, with the /// `(?i-u)` its declaration means, so this crate cannot be enforcing a /// different reading of the same patterns than the crate beside it. pub fn retired_hits(text: &str) -> Vec<&'static RetiredTerm> { cotton_core::language::retired_terms::violations_in(text) }