mirror of
https://github.com/saymrwulf/pasta_curves-source.git
synced 2026-09-07 20:30:34 +00:00
chore: fix source formatting
This commit is contained in:
parent
b1f03fbc9c
commit
678cd40419
1 changed files with 5 additions and 1 deletions
|
|
@ -12,6 +12,10 @@ pub use fq::*;
|
||||||
fn u64_to_u32(limbs: &[u64]) -> alloc::vec::Vec<u32> {
|
fn u64_to_u32(limbs: &[u64]) -> alloc::vec::Vec<u32> {
|
||||||
limbs
|
limbs
|
||||||
.iter()
|
.iter()
|
||||||
.flat_map(|limb| Some((limb & 0xFFFF_FFFF) as u32).into_iter().chain(Some((limb >> 32) as u32)))
|
.flat_map(|limb| {
|
||||||
|
Some((limb & 0xFFFF_FFFF) as u32)
|
||||||
|
.into_iter()
|
||||||
|
.chain(Some((limb >> 32) as u32))
|
||||||
|
})
|
||||||
.collect()
|
.collect()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue