Skip to content

Commit

Permalink
Add back a narrower allow dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
sffc committed Dec 21, 2024
1 parent 1ddea5e commit 7e0a8fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/datetime/src/fieldsets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ macro_rules! impl_marker_with_options {
)?
}
impl $type {
#[allow(dead_code)]
pub(crate) fn to_raw_options(self) -> RawOptions {
RawOptions {
length: yes_or!(self.length, $(Length::$length_override)?),
Expand Down

0 comments on commit 7e0a8fe

Please sign in to comment.