diff --git a/doc/docs.md b/doc/docs.md index fdb7c30d44..013915c980 100644 --- a/doc/docs.md +++ b/doc/docs.md @@ -1199,9 +1199,8 @@ setup/initialization code when imported (perhaps you want to call some C library functions), write a module `init` function inside the module: ```v -fn init() int { +fn init() { // your setup code here ... - return 1 } ```