🐛 (web): HttpRequest clona ahora las extensiones
Documenta el nuevo comportamiento y aprovecha para pulir varios comentarios y restringir visibilidad de símbolos internos.
This commit is contained in:
parent
370bc8ee47
commit
6f82da220b
11 changed files with 55 additions and 56 deletions
|
|
@ -10,8 +10,8 @@ impl Extension for HelloName {
|
|||
}
|
||||
|
||||
async fn hello_name(
|
||||
web::Path(name): web::Path<String>,
|
||||
request: HttpRequest,
|
||||
web::Path(name): web::Path<String>,
|
||||
) -> Result<Markup, ErrorPage> {
|
||||
Page::new(request)
|
||||
.with_child(Html::with(move |_| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue