Skip to content

Commit cc478c6

Browse files
committed
Fix new clippy lint for implicit conversion
1 parent 4680619 commit cc478c6

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

rust/cli/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 1.0.3-dev
4+
5+
### Patch
6+
7+
- Fix new clippy lints
8+
39
## 1.0.2
410

511
### Patch

rust/cli/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "magika"
3-
version = "1.0.2"
3+
version = "1.0.3-dev"
44
authors = ["Magika Developers <[email protected]>"]
55
license = "Apache-2.0"
66
edition = "2021"

rust/cli/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ async fn infer_batch(
362362
while let Ok(Batch { paths, features }) = receiver.recv().await {
363363
let batch = magika.identify_features_batch_async(&features).await?;
364364
assert_eq!(batch.len(), paths.len());
365-
for ((order, path), output) in paths.into_iter().zip(batch.into_iter()) {
365+
for ((order, path), output) in paths.into_iter().zip(batch) {
366366
let result = Ok(output);
367367
sender.send(Ok(Response { order, path, result })).await?;
368368
}

0 commit comments

Comments
 (0)