Skip to content

Commit be98ae6

Browse files
authored
Update misc_docs/syntax/language_open.mdx
1 parent 413935a commit be98ae6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misc_docs/syntax/language_open.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ summary: "This is the `open` keyword."
66
category: "languageconstructs"
77
---
88

9-
`open` is used to "open" a module so we can refer to the module's contents without needing to prepending the module's name.
9+
`open` is used to expose all values, types, modules, etc of a module in the current scope. This is useful whenever you want to use a module's functionality without typing out the module name over and over again.
1010

1111
In some cases, `open` will cause a "shadow warning" due to existing identifiers and types being redefined by an `open`ed module. You can explicitly ignore that warning by using an `open!` statement instead.
1212

0 commit comments

Comments
 (0)