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:
parent
eb5afb7403
commit
878efcdade
@ -1061,7 +1061,8 @@ fn main() {
|
|||||||
println('Hello, $name!')
|
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:
|
You can import several specific symbols at once:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user