idle, delay: Don’t import * from chrono::prelude.

This commit is contained in:
Emmanuel Gil Peyrot 2017-06-08 22:46:27 +02:00
parent bd19341f69
commit 88a3f507f6
2 changed files with 4 additions and 3 deletions

View file

@ -7,7 +7,7 @@
use std::convert::TryFrom;
use minidom::Element;
use chrono::prelude::*;
use chrono::{DateTime, FixedOffset};
use error::Error;
use jid::Jid;
@ -58,8 +58,9 @@ impl Into<Element> for Delay {
#[cfg(test)]
mod tests {
use std::str::FromStr;
use super::*;
use std::str::FromStr;
use chrono::{Datelike, Timelike};
#[test]
fn test_simple() {

View file

@ -7,7 +7,7 @@
use std::convert::TryFrom;
use minidom::Element;
use chrono::prelude::*;
use chrono::{DateTime, FixedOffset};
use error::Error;