MCPcopy Create free account
hub / github.com/actix/examples / hello

Function hello

templating/sailfish/src/main.rs:39–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37
38#[get("/")]
39async fn hello() -> impl Responder {
40 web::Html::new("<p>Hello world!</p>".to_owned())
41}
42
43#[actix_web::main]
44async fn main() -> std::io::Result<()> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected