From 4f09d5adda3049df3524b1a5785594765da31dd2 Mon Sep 17 00:00:00 2001 From: Robert Bastian <4706271+robertbastian@users.noreply.github.com> Date: Fri, 29 Sep 2023 19:33:50 +0200 Subject: [PATCH] Fixing casemap docs (#4101) --- components/casemap/README.md | 9 +-------- components/casemap/src/casemapper.rs | 7 ------- components/casemap/src/closer.rs | 7 ------- components/casemap/src/lib.rs | 9 +-------- components/casemap/src/titlecase.rs | 7 ------- 5 files changed, 2 insertions(+), 37 deletions(-) diff --git a/components/casemap/README.md b/components/casemap/README.md index 23b1ae9f84b..ade3a9e1992 100644 --- a/components/casemap/README.md +++ b/components/casemap/README.md @@ -2,7 +2,7 @@ -🚧 \[Experimental\] Case mapping for Unicode characters and strings. +Case mapping for Unicode characters and strings. This module is published as its own crate ([`icu_casemap`](https://docs.rs/icu_casemap/latest/icu_casemap/)) and as part of the [`icu`](https://docs.rs/icu/latest/icu/) crate. See the latter for more details on the ICU4X project. @@ -25,13 +25,6 @@ assert_eq!( ); ``` -
-🚧 This code is experimental; it may change at any time, in breaking or non-breaking ways, -including in SemVer minor releases. It can be enabled with the "experimental" Cargo feature -of the icu meta-crate. Use with caution. -#2535 -
- [`ICU4X`]: ../icu/index.html diff --git a/components/casemap/src/casemapper.rs b/components/casemap/src/casemapper.rs index 51e9393a582..fa18b040d98 100644 --- a/components/casemap/src/casemapper.rs +++ b/components/casemap/src/casemapper.rs @@ -33,13 +33,6 @@ use writeable::Writeable; /// "γειά σου κόσμε" /// ); /// ``` -/// -///
-/// 🚧 This code is experimental; it may change at any time, in breaking or non-breaking ways, -/// including in SemVer minor releases. It can be enabled with the "experimental" Cargo feature -/// of the icu meta-crate. Use with caution. -/// #2535 -///
#[derive(Clone, Debug)] pub struct CaseMapper { pub(crate) data: DataPayload, diff --git a/components/casemap/src/closer.rs b/components/casemap/src/closer.rs index 89ba80246cb..531f532ad16 100644 --- a/components/casemap/src/closer.rs +++ b/components/casemap/src/closer.rs @@ -34,13 +34,6 @@ use icu_provider::prelude::*; /// assert!(set.contains('ß')); /// assert!(set.contains('ẞ')); /// ``` -/// -///
-/// 🚧 This code is experimental; it may change at any time, in breaking or non-breaking ways, -/// including in SemVer minor releases. It can be enabled with the "experimental" Cargo feature -/// of the icu meta-crate. Use with caution. -/// #2535 -///
#[derive(Clone, Debug)] pub struct CaseMapCloser { cm: CM, diff --git a/components/casemap/src/lib.rs b/components/casemap/src/lib.rs index e0e8a234c6f..6d2ec42246b 100644 --- a/components/casemap/src/lib.rs +++ b/components/casemap/src/lib.rs @@ -2,7 +2,7 @@ // called LICENSE at the top level of the ICU4X source tree // (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ). -//! 🚧 \[Experimental\] Case mapping for Unicode characters and strings. +//! Case mapping for Unicode characters and strings. //! //! This module is published as its own crate ([`icu_casemap`](https://docs.rs/icu_casemap/latest/icu_casemap/)) //! and as part of the [`icu`](https://docs.rs/icu/latest/icu/) crate. See the latter for more details on the ICU4X project. @@ -25,13 +25,6 @@ //! ); //! ``` //! -//!
-//! 🚧 This code is experimental; it may change at any time, in breaking or non-breaking ways, -//! including in SemVer minor releases. It can be enabled with the "experimental" Cargo feature -//! of the icu meta-crate. Use with caution. -//! #2535 -//!
-//! //! [`ICU4X`]: ../icu/index.html // https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations diff --git a/components/casemap/src/titlecase.rs b/components/casemap/src/titlecase.rs index 0b7016ddd23..c935eb09f2b 100644 --- a/components/casemap/src/titlecase.rs +++ b/components/casemap/src/titlecase.rs @@ -198,13 +198,6 @@ pub struct TitlecaseOptions { /// assert_eq!(cm.titlecase_segment_to_string("ijkdijk", &root, default_options), "Ijkdijk"); /// assert_eq!(cm.titlecase_segment_to_string("ijkdijk", &langid!("nl"), default_options), "IJkdijk"); // Dutch IJ digraph /// ``` -/// -///
-/// 🚧 This code is experimental; it may change at any time, in breaking or non-breaking ways, -/// including in SemVer minor releases. It can be enabled with the "experimental" Cargo feature -/// of the icu meta-crate. Use with caution. -/// #2535 -///
#[derive(Clone, Debug)] pub struct TitlecaseMapper { cm: CM,