mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 09:38:33 +08:00
chore: address Rust 1.75 clippy lints (#3231)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -156,7 +156,7 @@ fn compile_request_pm_types(
|
||||
|
||||
let or_node_neighbor_id = if amount_nodes.len() == 1 {
|
||||
amount_nodes
|
||||
.get(0)
|
||||
.first()
|
||||
.copied()
|
||||
.ok_or(KgraphError::IndexingError)?
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user