Skip to content

Commit

Permalink
Fixing casemap docs (#4101)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertbastian committed Sep 29, 2023
1 parent 9a4278f commit 4f09d5a
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 37 deletions.
9 changes: 1 addition & 8 deletions components/casemap/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions components/casemap/src/casemapper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,6 @@ use writeable::Writeable;
/// "γειά σου κόσμε"
/// );
/// ```
///
/// <div class="stab unstable">
/// 🚧 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.
/// <a href="https://github.com/unicode-org/icu4x/issues/2535">#2535</a>
/// </div>
#[derive(Clone, Debug)]
pub struct CaseMapper {
pub(crate) data: DataPayload<CaseMapV1Marker>,
Expand Down
7 changes: 0 additions & 7 deletions components/casemap/src/closer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,6 @@ use icu_provider::prelude::*;
/// assert!(set.contains('ß'));
/// assert!(set.contains('ẞ'));
/// ```
///
/// <div class="stab unstable">
/// 🚧 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.
/// <a href="https://github.com/unicode-org/icu4x/issues/2535">#2535</a>
/// </div>
#[derive(Clone, Debug)]
pub struct CaseMapCloser<CM> {
cm: CM,
Expand Down
9 changes: 1 addition & 8 deletions components/casemap/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -25,13 +25,6 @@
//! );
//! ```
//!
//! <div class="stab unstable">
//! 🚧 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.
//! <a href="https://github.com/unicode-org/icu4x/issues/2535">#2535</a>
//! </div>
//!
//! [`ICU4X`]: ../icu/index.html

// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations
Expand Down
7 changes: 0 additions & 7 deletions components/casemap/src/titlecase.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
/// ```
///
/// <div class="stab unstable">
/// 🚧 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.
/// <a href="https://github.com/unicode-org/icu4x/issues/2535">#2535</a>
/// </div>
#[derive(Clone, Debug)]
pub struct TitlecaseMapper<CM> {
cm: CM,
Expand Down

0 comments on commit 4f09d5a

Please sign in to comment.