rustfmt edits

This commit is contained in:
Alex Stokes 2018-12-10 20:32:44 -08:00
parent 564f13be5f
commit 4d43de1cea
No known key found for this signature in database
GPG Key ID: 51CE1721B245C086

View File

@ -85,9 +85,10 @@ where
* The slot of this attestation must not be more than cycle_length + 1 distance
* from the parent_slot of block that contained it.
*/
if a.slot < self
.parent_block_slot
.saturating_sub(u64::from(self.cycle_length).saturating_add(1))
if a.slot
< self
.parent_block_slot
.saturating_sub(u64::from(self.cycle_length).saturating_add(1))
{
return Err(AttestationValidationError::ParentSlotTooLow);
}