Skip to content

Commit

Permalink
Remove Default impl
Browse files Browse the repository at this point in the history
sffc committed Aug 17, 2023
1 parent 3d83b95 commit 04ee1df
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions provider/core/src/request.rs
Original file line number Diff line number Diff line change
@@ -754,7 +754,7 @@ impl DataLocale {
/// ```
///
/// [`Keywords`]: unicode_ext::Keywords
#[derive(Debug, PartialEq, Clone, Default, Eq, Hash)]
#[derive(Debug, PartialEq, Clone, Eq, Hash)]
pub struct AuxiliaryKeys {
// DISCUSS: SmallStr? TinyStrAuto?
// DISCUSS: Make this a dynamically sized type so references can be taken?
@@ -803,13 +803,6 @@ impl Hash for AuxiliaryKeysInner {
}
}

// TODO: Remove this impl; empty AuxiliaryKeys not allowed
impl Default for AuxiliaryKeysInner {
fn default() -> Self {
Self::Static("")
}
}

writeable::impl_display_with_writeable!(AuxiliaryKeys);

impl Writeable for AuxiliaryKeys {

0 comments on commit 04ee1df

Please sign in to comment.