🧑‍💻 Simplify service::HttpRequest to HttpRequest

This commit is contained in:
Manuel Cillero 2024-02-28 09:11:58 +01:00
parent a9a5d232a2
commit aba7c4d8ce
11 changed files with 15 additions and 17 deletions

View file

@ -40,7 +40,7 @@
//! }
//! }
//!
//! async fn hello_world(request: service::HttpRequest) -> ResultPage<Markup, ErrorPage> {
//! async fn hello_world(request: HttpRequest) -> ResultPage<Markup, ErrorPage> {
//! Page::new(request)
//! .with_component(Html::with(html! { h1 { "Hello World!" } }))
//! .render()