From 878efcdadedfdf083a314126c96e881a85229a51 Mon Sep 17 00:00:00 2001 From: shadowninja55 <49539636+shadowninja55@users.noreply.github.com> Date: Sat, 26 Jun 2021 11:10:30 -0400 Subject: [PATCH] doc: improve selective import docs (#10573) --- doc/docs.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/docs.md b/doc/docs.md index 90e5e29e8a..cec4a8a45c 100644 --- a/doc/docs.md +++ b/doc/docs.md @@ -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: