Skip to content

Commit 48292bc

Browse files
committed
FIX: Clippy lints
The clippy.toml setting is a workaround for the currently broken single char variable lint (a fix is pending in clippy).
1 parent 78bd1d8 commit 48292bc

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
fn main() {
66
println!("cargo:rerun-if-changed=build.rs");
77
if cfg!(feature = "test-blas-openblas-sys") {
8-
println!("cargo:rustc-link-lib={}=openblas", "dylib");
8+
println!("cargo:rustc-link-lib=dylib=openblas");
99
}
1010
}

clippy.toml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
single-char-binding-names-threshold = 1000

src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
clippy::many_single_char_names,
1212
clippy::deref_addrof,
1313
clippy::unreadable_literal,
14-
clippy::many_single_char_names
1514
)]
1615

1716
//! The `ndarray` crate provides an *n*-dimensional container for general elements

0 commit comments

Comments
 (0)