mirror of
https://github.com/emilk/egui.git
synced 2026-09-03 07:10:04 -04:00
Fix warning
This commit is contained in:
@@ -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")]
|
||||||
|
|||||||
Reference in New Issue
Block a user