Don't warn on deprecated trim functions

This commit is contained in:
Brandon W Maister 2019-03-23 20:49:05 -04:00
parent 33800c876b
commit 855a894393
2 changed files with 4 additions and 0 deletions

View File

@ -4,6 +4,8 @@
//! Date and time parsing routines.
#![allow(deprecated)]
use std::usize;
use Weekday;

View File

@ -5,6 +5,8 @@
* Various scanning routines for the parser.
*/
#![allow(deprecated)]
use Weekday;
use super::{ParseResult, TOO_SHORT, INVALID, OUT_OF_RANGE};