Skip to content

Commit a5d26a4

Browse files
authored
Merge pull request #37 from mathstuf/clippy-deny-warnings
Clippy deny warnings
2 parents f6acf6b + f30c216 commit a5d26a4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.cirrus.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ clippy_task:
66
cargo_cache:
77
folder: $CARGO_HOME/registry
88
fingerprint_script: cat Cargo.lock
9-
clippy_script: cargo clippy
9+
clippy_script: cargo clippy -- -D warnings
1010
before_cache_script: rm -rf $CARGO_HOME/registry/index
1111

1212
rustfmt_task:

src/api.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ impl Keyring {
271271

272272
let mut keys = Vec::new();
273273
let mut keyrings = Vec::new();
274-
for key in buffer.into_iter().map(|id| Key::new_impl(id)) {
274+
for key in buffer.into_iter().map(Key::new_impl) {
275275
match key.description() {
276276
Ok(description) => {
277277
if description.type_ == keytypes::Keyring::name() {

0 commit comments

Comments
 (0)