Skip to content

Commit 17464d2

Browse files
authored
Update imports.md to match reference syntax
Looks like the change in #15321 remained a [suggestion](#15321 (comment)) and didn't get merged correctly, unfortunately.
1 parent 9f12e76 commit 17464d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/_docs/reference/changed-features/imports.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ are offered under settings `-source 3.1-migration -rewrite`.
4848

4949
```
5050
Import ::= ‘import’ ImportExpr {‘,’ ImportExpr}
51-
ImportExpr ::= { SimpleRef {‘.’ id} ‘.’ } ImportSpec
51+
ImportExpr ::= SimpleRef {‘.’ id} ‘.’ ImportSpec
52+
| SimpleRef `as` id
5253
ImportSpec ::= NamedSelector
5354
| WildcardSelector
5455
| ‘{’ ImportSelectors) ‘}’

0 commit comments

Comments
 (0)