Skip to content

Commit

Permalink
docs: fix note about submodule names
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Sep 29, 2023
1 parent 137cb09 commit 1476daf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -1477,7 +1477,8 @@ println('Your OS is ${current_os}.')
Any imported module name can be aliased using the `as` keyword:

> **Note**
> This example will not compile unless you have created `mymod/sha256.v`
> This example will not compile unless you have created `mymod/sha256/somename.v`
> (submodule names are determined by their path, not by the names of the .v file(s) in them).
```v failcompile
import crypto.sha256
Expand Down

0 comments on commit 1476daf

Please sign in to comment.