Skip to content

Commit 1641ed4

Browse files
mikolalysenkoclaude
andcommitted
fix: remove needless return statements flagged by clippy 1.93
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 00b5320 commit 1641ed4

File tree

1 file changed

+2
-2
lines changed
  • crates/socket-patch-core/src/crawlers

1 file changed

+2
-2
lines changed

crates/socket-patch-core/src/crawlers/types.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ impl Ecosystem {
2727
return Some(Ecosystem::Cargo);
2828
}
2929
if purl.starts_with("pkg:npm/") {
30-
return Some(Ecosystem::Npm)
30+
Some(Ecosystem::Npm)
3131
} else if purl.starts_with("pkg:pypi/") {
32-
return Some(Ecosystem::Pypi)
32+
Some(Ecosystem::Pypi)
3333
} else {
3434
None
3535
}

0 commit comments

Comments
 (0)