fn router() -> Router {
    build_simple_router(|route| {
        // For the path "/" invoke the handler "say_hello"
        route.get("/").to(say_hello);
    })
}
/// Create a `Router`
///
/// Provides tree of routes with only a single top level entry that looks like:
///
/// /                     --> GET
///
/// If no match for a request is found a 404 will be returned. Both the HTTP verb and the request
/// path are considered when determining if the request matches a defined route.
Create a `Router`
Provides tree of routes with only a single top level entry that looks like.

> GET

If no match for a request is found a 404 will be returned. Both the HTTP verb and the request
path are considered when determining if the request matches a defined route.
Create a ` Router ` Provides tree of routes with only a single top level entry that looks like . > GET If no match for a request is found a 404 will be returned . Both the HTTP verb and the request path are considered when determining if the request matches a defined route .
fn router() -> Router {
    build_simple_router(|route| {
        // For the path "/" invoke the handler "say_hello"
        route.get("/").to(say_hello);
    })
}
fn router ( ) -> Router { build_simple_router ( | route | { // For the path "/" invoke the handler "say_hello" route . get ( " " ) . to ( say_hello ) ; } ) }
Create a `Router`
Provides tree of routes with only a single top level entry that looks like:
Create a ` Router ` Provides tree of routes with only a single top level entry that looks like :