Fix warning
This commit is contained in:
parent
d7453e42d3
commit
985e569542
|
|
@ -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")]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue