doc: improve selective import docs (#10573)

pull/10581/head
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
1 changed files with 2 additions and 1 deletions

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: