Skip to content

Commit

Permalink
Remove Ord impl from extensions::unicode::Unicode (#5617)
Browse files Browse the repository at this point in the history
Fixes #4609
  • Loading branch information
Manishearth authored Sep 30, 2024
1 parent a20d3fa commit ef4d4d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
- `icu_normalizer`
- `icu_datetime`
- `icu_experimental`
- `icu_locid`
- `icu_locale`
- New crate
- `icu_locale_core`
- New crate, split out of `icu_locid`
- Removed `Ord` and `PartialOrd` impl from `extensions::unicode::Unicode` (https://github.com/unicode-org/icu4x/pull/5617)
- `icu_locid_transform`
- `icu_plurals`
- `icu_properties`
Expand Down
2 changes: 1 addition & 1 deletion components/locale_core/src/extensions/unicode/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ pub(crate) const UNICODE_EXT_STR: &str = "u";
/// Some(&value!("buddhist"))
/// );
/// ```
#[derive(Clone, PartialEq, Eq, Debug, Default, Hash, PartialOrd, Ord)]
#[derive(Clone, PartialEq, Eq, Debug, Default, Hash)]
#[allow(clippy::exhaustive_structs)] // spec-backed stable datastructure
pub struct Unicode {
/// The key-value pairs present in this locale extension, with each extension key subtag
Expand Down

0 comments on commit ef4d4d2

Please sign in to comment.