clippy: forbid wildcard_imports

This commit is contained in:
Alexander Krotov
2021-01-12 08:18:37 +03:00
committed by link2xt
parent eeba70eb49
commit 5e8e77dfb6
36 changed files with 169 additions and 116 deletions

View File

@@ -8,12 +8,12 @@ use async_std::path::{Path, PathBuf};
use async_std::sync::{channel, Arc, Mutex, Receiver, RwLock, Sender};
use async_std::task;
use crate::chat::*;
use crate::chat::{get_chat_cnt, ChatId};
use crate::config::Config;
use crate::constants::*;
use crate::contact::*;
use crate::constants::DC_VERSION_STR;
use crate::contact::Contact;
use crate::dc_tools::duration_to_str;
use crate::error::*;
use crate::error::{bail, ensure, Result};
use crate::events::{Event, EventEmitter, EventType, Events};
use crate::key::{DcKey, SignedPublicKey};
use crate::login_param::LoginParam;
@@ -514,7 +514,7 @@ pub fn get_version_str() -> &'static str {
mod tests {
use super::*;
use crate::test_utils::*;
use crate::test_utils::TestContext;
#[async_std::test]
async fn test_wrong_db() {