1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-03 07:10:04 -04:00

Fix warning

This commit is contained in:
Emil Ernerfeldt
2025-02-04 17:04:29 +01:00
parent d7453e42d3
commit 985e569542

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")]