mirror of
https://github.com/saymrwulf/risc0-curve25519-dalek-source.git
synced 2026-09-04 20:03:40 +00:00
Remove unnecessary returns
This commit is contained in:
parent
b3041f2adc
commit
c8e7e22ddf
1 changed files with 2 additions and 2 deletions
|
|
@ -86,7 +86,7 @@ impl PartialEq for FieldElement {
|
|||
for i in 0..32 {
|
||||
are_equal &= self_bytes[i] == other_bytes[i];
|
||||
}
|
||||
return are_equal;
|
||||
are_equal
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -923,7 +923,7 @@ impl FieldElement {
|
|||
for b in &bytes {
|
||||
x |= *b;
|
||||
}
|
||||
return byte_is_nonzero(x);
|
||||
byte_is_nonzero(x)
|
||||
}
|
||||
|
||||
#[cfg(not(feature="radix_51"))]
|
||||
|
|
|
|||
Loading…
Reference in a new issue