Skip to content

Commit

Permalink
Mollify clippy (#119)
Browse files Browse the repository at this point in the history
* Mollify clippy

* Update time
  • Loading branch information
saethlin authored Oct 8, 2024
1 parent e8145d7 commit 2a0dc18
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ async fn build_crate_list(args: &Args, client: &Client) -> Result<Vec<Crate>> {
.collect();
let mut crates = Vec::new();
for line in crate_list.split_whitespace() {
let mut it = line.split(|c| c == '@' || c == '/');
let mut it = line.split(['@', '/']);
let name = it.next().unwrap();
let version = it.next();
if let Some(c) = all_crates.get(name) {
Expand Down

0 comments on commit 2a0dc18

Please sign in to comment.