From f15916385622c907d2818d37545b1bce00e72a25 Mon Sep 17 00:00:00 2001 From: Sanath Kumar U Date: Mon, 21 Sep 2020 20:01:11 +0530 Subject: [PATCH] docs: update the module import example (#6439) --- doc/docs.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/docs.md b/doc/docs.md index f361aa8167..b0a1e80d22 100644 --- a/doc/docs.md +++ b/doc/docs.md @@ -1386,9 +1386,9 @@ To create a new module, create a directory with your module's name and ```v cd ~/code/modules mkdir mymodule -vim mymodule/mymodule.v +vim mymodule/myfile.v -// mymodule.v +// myfile.v module mymodule // To export a function we have to use `pub`