Skip to content

Commit 9e7e9a2

Browse files
committed
Fix duplicate features docs (#4097)
1 parent f5ec035 commit 9e7e9a2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

components/calendar/src/week_of.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ impl WeekCalculator {
4747
options: skip,
4848
error: CalendarError,
4949
/// Creates a new [`WeekCalculator`] from compiled locale data.
50+
///
51+
/// ✨ *Enabled with the `compiled_data` Cargo feature.*
52+
///
53+
/// [📚 Help choosing a constructor](icu_provider::constructors)
5054
);
5155

5256
#[doc = icu_provider::gen_any_buffer_unstable_docs!(UNSTABLE, Self::try_new)]

provider/core/src/constructors.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,6 @@ macro_rules! gen_any_buffer_data_constructors {
181181
(locale: skip, options: skip, result: $result_ty:path, $(#[$doc:meta])+ functions: [$baked:ident, $any:ident, $buffer:ident, $unstable:ident $(, $struct:ident)? $(,)?]) => {
182182
#[cfg(feature = "compiled_data")]
183183
$(#[$doc])+
184-
///
185-
/// ✨ *Enabled with the `compiled_data` Cargo feature.*
186-
///
187-
/// [📚 Help choosing a constructor](icu_provider::constructors)
188184
pub fn $baked() -> $result_ty {
189185
$($struct :: )? $unstable(&crate::provider::Baked)
190186
}

0 commit comments

Comments
 (0)