idle, delay: Don’t import * from chrono::prelude.
This commit is contained in:
parent
bd19341f69
commit
88a3f507f6
2 changed files with 4 additions and 3 deletions
|
@ -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() {
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
use std::convert::TryFrom;
|
||||
|
||||
use minidom::Element;
|
||||
use chrono::prelude::*;
|
||||
use chrono::{DateTime, FixedOffset};
|
||||
|
||||
use error::Error;
|
||||
|
||||
|
|
Loading…
Reference in a new issue