Skip to content

Some Clippy lints #642

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 38 commits into from
Jul 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
e768f70
some initial clippy fixes
max-sixty Jun 13, 2019
cea9596
some clippy lints cleaned
max-sixty Jun 13, 2019
82210d7
one more
max-sixty Jun 13, 2019
0ed84b5
more lints
max-sixty Jun 13, 2019
09e4edf
even more
max-sixty Jun 13, 2019
ac4eeb4
more lints
max-sixty Jun 13, 2019
c708968
all clippy lints solved or ignored
max-sixty Jun 13, 2019
3090c36
test in travis
max-sixty Jun 13, 2019
25d9978
revert from_iter changes
max-sixty Jun 13, 2019
3abe7b4
add temporary allow to from_iter lint
max-sixty Jun 13, 2019
802e40b
install clippy in travis
max-sixty Jun 14, 2019
e7b0069
only run clippy on nightly
max-sixty Jun 14, 2019
dd7933e
cloned rather than copied
max-sixty Jun 14, 2019
0ed10c6
miscreant line
max-sixty Jun 14, 2019
2d57530
collapse non-looping loop
max-sixty Jun 14, 2019
296691e
Derive traits for Axis instead of manual impl
jturner314 Jun 20, 2019
1eab0dc
Remove manual impls of Send and Sync for IxDynImpl
jturner314 Jun 21, 2019
6c9b417
Implement Hash for IxDynRepr and IxDynImpl
jturner314 Jun 21, 2019
ce57d15
Derive Hash for Dim instead of manual impl
jturner314 Jun 21, 2019
0330b6d
Simplify remove_axis using copy_from_slice
jturner314 Jun 21, 2019
e6c9b56
Implement TrustedIterator for Cloned
jturner314 Jun 21, 2019
7dbef15
Clarify docs for TrustedIterator
jturner314 Jun 21, 2019
1e6a406
Reformat match in slice_collapse
jturner314 Jun 21, 2019
db01f63
Remove unnecessary .clone() call
jturner314 Jun 21, 2019
cc66f17
Reformat values of CORDER and FORDER
jturner314 Jun 21, 2019
27d6717
Merge pull request #1 from jturner314/clippy
max-sixty Jun 21, 2019
5b6be99
explicit folds
max-sixty Jun 21, 2019
d99851c
more minor changes
max-sixty Jun 21, 2019
bd1a50d
replace notes with reference to @jturner314 comment
max-sixty Jun 21, 2019
5b0bba0
more small tweaks
max-sixty Jun 21, 2019
46a9c47
flup re len & empty
max-sixty Jun 21, 2019
e2d86aa
clippy on beta only since sometimes not available on nightly (e.g. to…
max-sixty Jun 21, 2019
bdf02f1
only attempt clippy install on beta
max-sixty Jun 21, 2019
7321592
srlsy?
max-sixty Jun 21, 2019
9bce28d
bash precedence
max-sixty Jun 22, 2019
c434ba5
Merge branch 'master' into clippy
max-sixty Jul 5, 2019
11e0102
Merge branch 'master' into clippy
max-sixty Jul 10, 2019
b520564
set aside one lint for the moment
max-sixty Jul 10, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions scripts/all-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -x
set -e

FEATURES=$1
IS_NIGHTLY=$2
CHANNEL=$2

cargo build --verbose --no-default-features
cargo test --verbose --no-default-features
Expand All @@ -14,4 +14,5 @@ cargo test --verbose --features "$FEATURES"
cargo test --manifest-path=serialization-tests/Cargo.toml --verbose
cargo test --manifest-path=blas-tests/Cargo.toml --verbose
CARGO_TARGET_DIR=target/ cargo test --manifest-path=numeric-tests/Cargo.toml --verbose
([ "$IS_NIGHTLY" != 1 ] || cargo bench --no-run --verbose --features "$FEATURES")
([ "$CHANNEL" != "beta" ] || (rustup component add clippy && cargo clippy))
([ "$CHANNEL" != "nightly" ] || cargo bench --no-run --verbose --features "$FEATURES")
Loading