🧑💻 Simplify service::HttpRequest to HttpRequest
This commit is contained in:
parent
a9a5d232a2
commit
aba7c4d8ce
11 changed files with 15 additions and 17 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue