Fix formatting with rustfmt.

This commit is contained in:
Luke Anderson 2019-09-04 14:19:48 +10:00
parent 0c1ceab527
commit 28a2ce2bdc
No known key found for this signature in database
GPG Key ID: 44408169EC61E228

View File

@ -174,10 +174,13 @@ pub fn get_state<T: BeaconChainTypes + 'static>(req: Request<Body>) -> ApiResult
return Err(e); return Err(e);
} }
} }
}, }
Err(ApiError::InvalidQueryParams(_)) => { Err(ApiError::InvalidQueryParams(_)) => {
// No parameters provided at all, use current slot. // No parameters provided at all, use current slot.
(String::from("slot"), beacon_chain.head().beacon_state.slot.to_string()) (
String::from("slot"),
beacon_chain.head().beacon_state.slot.to_string(),
)
} }
Err(e) => { Err(e) => {
return Err(e); return Err(e);