Skip to content

Commit fc6315e

Browse files
authored
Make docs for provider module consistent (#683)
1 parent b937cfa commit fc6315e

File tree

5 files changed

+15
-3
lines changed

5 files changed

+15
-3
lines changed

components/datetime/src/provider/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
// called LICENSE at the top level of the ICU4X source tree
33
// (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ).
44

5-
//! The `provider` module contains struct definitions for ICU4X [`DataProvider`].
5+
//! Data provider struct definitions for this ICU4X component.
66
//!
7-
//! [`DataProvider`]: icu_provider::DataProvider
7+
//! Read more about data providers: [`icu_provider`]
88
99
pub mod gregory;
1010
pub(crate) mod helpers;

components/decimal/src/provider.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// called LICENSE at the top level of the ICU4X source tree
33
// (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ).
44

5-
//! Data provider struct definitions for [`icu_decimal`](crate).
5+
//! Data provider struct definitions for this ICU4X component.
66
//!
77
//! Read more about data providers: [`icu_provider`]
88

components/locale_canonicalizer/src/provider.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
// called LICENSE at the top level of the ICU4X source tree
33
// (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ).
44

5+
//! Data provider struct definitions for this ICU4X component.
6+
//!
7+
//! Read more about data providers: [`icu_provider`]
8+
59
use icu_locid::LanguageIdentifier;
610
use tinystr::TinyStr4;
711

components/plurals/src/provider.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
// called LICENSE at the top level of the ICU4X source tree
33
// (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ).
44

5+
//! Data provider struct definitions for this ICU4X component.
6+
//!
7+
//! Read more about data providers: [`icu_provider`]
8+
59
use std::borrow::Cow;
610

711
pub mod key {

components/uniset/src/provider.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
// called LICENSE at the top level of the ICU4X source tree
33
// (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ).
44

5+
//! Data provider struct definitions for this ICU4X component.
6+
//!
7+
//! Read more about data providers: [`icu_provider`]
8+
59
use crate::uniset::UnicodeSet;
610
use std::borrow::Cow;
711
use std::convert::TryInto;

0 commit comments

Comments
 (0)