Skip to content
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

feat: adding "mehari db subset" command (#367) #368

Merged
merged 1 commit into from
Feb 26, 2024

feat: adding "mehari db subset" command (#367)

04b8b91
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

feat: adding "mehari db subset" command (#367) #368

feat: adding "mehari db subset" command (#367)
04b8b91
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy succeeded Feb 26, 2024 in 0s

clippy

2 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 2
Note 0
Help 0

Versions

  • rustc 1.76.0 (07dca489a 2024-02-04)
  • cargo 1.76.0 (c84b36747 2024-01-18)
  • clippy 0.1.76 (07dca48 2024-02-04)

Annotations

Check warning on line 50 in src/db/subset/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

explicit call to `.into_iter()` in function argument accepting `IntoIterator`

warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator`
  --> src/db/subset/mod.rs:50:43
   |
50 |             IndexSet::<String>::from_iter(tx_ids.into_iter()),
   |                                           ^^^^^^^^^^^^^^^^^^ help: consider removing the `.into_iter()`: `tx_ids`
   |
note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()`
  --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/iter/traits/collect.rs:150:21
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion

Check warning on line 49 in src/db/subset/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

explicit call to `.into_iter()` in function argument accepting `IntoIterator`

warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator`
  --> src/db/subset/mod.rs:49:42
   |
49 |             IndexSet::<usize>::from_iter(tx_idxs.into_iter()),
   |                                          ^^^^^^^^^^^^^^^^^^^ help: consider removing the `.into_iter()`: `tx_idxs`
   |
note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()`
  --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/iter/traits/collect.rs:150:21
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
   = note: `#[warn(clippy::useless_conversion)]` on by default