From 227d12f1ac1c5326b37841bd3cdbdaf6d2ce939a Mon Sep 17 00:00:00 2001 From: srp-at-ah <87362182+srp-at-ah@users.noreply.github.com> Date: Thu, 2 Sep 2021 08:30:05 +0200 Subject: [PATCH] tutorial: fix missing & in README.md (#11363) --- tutorials/building_a_simple_web_blog_with_vweb/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tutorials/building_a_simple_web_blog_with_vweb/README.md b/tutorials/building_a_simple_web_blog_with_vweb/README.md index 06804a5a3f..c2ac53100d 100644 --- a/tutorials/building_a_simple_web_blog_with_vweb/README.md +++ b/tutorials/building_a_simple_web_blog_with_vweb/README.md @@ -233,6 +233,7 @@ fn main() { insert first_article into Article insert second_article into Article } + vweb.run(app, 8080) } ``` @@ -263,7 +264,7 @@ Let's fetch the articles in the `index()` action: ```v ignore // blog.v -pub fn (app App) index() vweb.Result { +pub fn (app &App) index() vweb.Result { articles := app.find_all_articles() return $vweb.html() }