diff --git a/CHANGELOG.md b/CHANGELOG.md index 35d69873798..1b540f12239 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ - Components - `icu_properties` - Add `Aran` script code (https://github.com/unicode-org/icu4x/pull/4426) +- Data model and providers + - `icu_provider` + - (Small breakage) `DataPayload::new_owned()` is no longer `const`, this was a mistake (https://github.com/unicode-org/icu4x/pull/4456) - FFI: - All languages - Correctly handle invalid UTF8 (https://github.com/unicode-org/icu4x/pull/4353) diff --git a/provider/core/src/response.rs b/provider/core/src/response.rs index 09b11830fa5..84af08483be 100644 --- a/provider/core/src/response.rs +++ b/provider/core/src/response.rs @@ -194,7 +194,7 @@ where /// assert_eq!(payload.get(), &local_struct); /// ``` #[inline] - pub const fn from_owned(data: M::Yokeable) -> Self { + pub fn from_owned(data: M::Yokeable) -> Self { Self(DataPayloadInner::Yoke(Yoke::new_owned(data))) }