Don't warn on deprecated trim functions
This commit is contained in:
parent
33800c876b
commit
855a894393
|
@ -4,6 +4,8 @@
|
||||||
|
|
||||||
//! Date and time parsing routines.
|
//! Date and time parsing routines.
|
||||||
|
|
||||||
|
#![allow(deprecated)]
|
||||||
|
|
||||||
use std::usize;
|
use std::usize;
|
||||||
|
|
||||||
use Weekday;
|
use Weekday;
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
* Various scanning routines for the parser.
|
* Various scanning routines for the parser.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#![allow(deprecated)]
|
||||||
|
|
||||||
use Weekday;
|
use Weekday;
|
||||||
use super::{ParseResult, TOO_SHORT, INVALID, OUT_OF_RANGE};
|
use super::{ParseResult, TOO_SHORT, INVALID, OUT_OF_RANGE};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue