Skip to content

Commit c9cbceb

Browse files
authored
Merge pull request #70 from hombit/fix-anyhow
Remove use * for external crates
2 parents 84a464e + d0b96e4 commit c9cbceb

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

intel-mkl-src/build.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222

2323
#![cfg_attr(feature = "download", allow(unreachable_code))]
2424

25-
use anyhow::*;
25+
use anyhow::{bail, Result};
2626
use intel_mkl_tool::*;
27-
use std::{env, path::*};
27+
use std::{env, path::PathBuf};
2828

2929
#[cfg(feature = "mkl-static-lp64-iomp")]
3030
const MKL_CONFIG: &str = "mkl-static-lp64-iomp";

intel-mkl-tool/src/cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use anyhow::*;
1+
use anyhow::{bail, Result};
22
use intel_mkl_tool::*;
33
use std::{env, path::PathBuf};
44
use structopt::StructOpt;

intel-mkl-tool/src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use crate::*;
2-
use derive_more::*;
2+
use derive_more::Display;
33

44
pub const VALID_CONFIGS: &[&str] = &[
55
"mkl-dynamic-ilp64-iomp",

intel-mkl-tool/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@
9292
9393
#![cfg_attr(not(feature = "archive"), allow(dead_code))]
9494

95-
use anyhow::*;
96-
use std::path::*;
95+
use anyhow::{bail, Result};
96+
use std::path::{Path, PathBuf};
9797

9898
mod config;
9999
mod entry;

0 commit comments

Comments
 (0)