1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

doc: improve selective import docs (#10573)

This commit is contained in:
shadowninja55 2021-06-26 11:10:30 -04:00 committed by GitHub
parent eb5afb7403
commit 878efcdade
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1061,7 +1061,8 @@ fn main() {
println('Hello, $name!')
}
```
Note: This is not allowed for constants - they must always be prefixed.
Note: This will import the module as well. Also, this is not allowed for
constants - they must always be prefixed.
You can import several specific symbols at once: