From 6ce91fbfbb87d03275fed8fa67d912ecbde96d6b Mon Sep 17 00:00:00 2001 From: Brandon W Maister Date: Sat, 31 Aug 2019 15:40:11 -0400 Subject: [PATCH] allow deprecated inclusive range patterns We still support ancient Rust. --- src/format/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/format/mod.rs b/src/format/mod.rs index 544088a..24647b4 100644 --- a/src/format/mod.rs +++ b/src/format/mod.rs @@ -15,6 +15,8 @@ //! currently Chrono supports [one built-in syntax closely resembling //! C's `strftime` format](./strftime/index.html). +#![allow(ellipsis_inclusive_range_patterns)] + use std::fmt; use std::str::FromStr; use std::error::Error;