mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
November 2023 - Rust Nightly Update (#413)
* Update nightly * Replace .get(0) with .first() * allow new clippy lint --------- Co-authored-by: GitHub Actions <> Co-authored-by: Luke Parker <lukeparker5132@gmail.com>
This commit is contained in:
committed by
GitHub
parent
ae449535ff
commit
a2089c61fb
@@ -123,7 +123,7 @@ where
|
||||
}
|
||||
|
||||
slice
|
||||
.get(0)
|
||||
.first()
|
||||
.filter(|(_, value)| !bool::from(multiexp_vartime(value).is_identity()))
|
||||
.map(|(id, _)| *id)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user