Fix warning

This commit is contained in:
Emil Ernerfeldt 2025-02-04 17:04:29 +01:00
parent d7453e42d3
commit 985e569542
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ impl Default for WidgetGallery {
} }
impl WidgetGallery { impl WidgetGallery {
#[allow(unused_mut)] // if not chrono
#[inline] #[inline]
pub fn with_date_button(mut self, _with_date_button: bool) -> Self { pub fn with_date_button(mut self, _with_date_button: bool) -> Self {
#[cfg(feature = "chrono")] #[cfg(feature = "chrono")]