Improve comments for http_server

This commit is contained in:
Paul Hauner
2019-05-27 12:56:09 +10:00
parent 255590ef3b
commit 3a65f84b12
3 changed files with 3 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ use router::Router;
use serde_json::json;
use std::sync::Arc;
/// Yields a handler for the HTTP API.
pub fn build_handler<T: BeaconChainTypes + 'static>(
beacon_chain: Arc<BeaconChain<T>>,
) -> impl Handler {