mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-06 20:41:14 +00:00
Remove an unnecessary explicit return in FieldElement.to_bytes().
This commit is contained in:
parent
674a00df5b
commit
16904432be
1 changed files with 1 additions and 1 deletions
|
|
@ -826,7 +826,7 @@ impl FieldElement {
|
||||||
debug_assert!((s[31] & 0b1000_0000u8) == 0u8);
|
debug_assert!((s[31] & 0b1000_0000u8) == 0u8);
|
||||||
s[31] &= 127u8;
|
s[31] &= 127u8;
|
||||||
|
|
||||||
return s
|
s
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Determine if this `FieldElement` is negative, in the sense
|
/// Determine if this `FieldElement` is negative, in the sense
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue