From 855a894393d9675be104988ac0a1424c9c5a41eb Mon Sep 17 00:00:00 2001 From: Brandon W Maister Date: Sat, 23 Mar 2019 20:49:05 -0400 Subject: [PATCH] Don't warn on deprecated trim functions --- src/format/parse.rs | 2 ++ src/format/scan.rs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/format/parse.rs b/src/format/parse.rs index 88c32d1..6810f69 100644 --- a/src/format/parse.rs +++ b/src/format/parse.rs @@ -4,6 +4,8 @@ //! Date and time parsing routines. +#![allow(deprecated)] + use std::usize; use Weekday; diff --git a/src/format/scan.rs b/src/format/scan.rs index f2f97d9..c311175 100644 --- a/src/format/scan.rs +++ b/src/format/scan.rs @@ -5,6 +5,8 @@ * Various scanning routines for the parser. */ +#![allow(deprecated)] + use Weekday; use super::{ParseResult, TOO_SHORT, INVALID, OUT_OF_RANGE};