Skip to content

Commit 928723b

Browse files
xymusrjmccall
andauthored
Update proposals/0409-access-level-on-imports.md
Co-authored-by: John McCall <rjmccall@gmail.com>
1 parent 76ac5be commit 928723b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proposals/0409-access-level-on-imports.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ However, the binary associated to the module still needs to be distributed to ex
209209
The access level of a default import declaration without an explicit access-level modifier depends on the language version.
210210
We list here the implicit access levels and reasoning behind this choice.
211211

212-
In Swift 5/6, an import is `public` by default.
212+
In language modes up to Swift 6, an import is `public` by default.
213213
This choice preserves source compatibility.
214214
The only official import previously available in Swift 5 behaves like the public import proposed in this document.
215215

0 commit comments

Comments
 (0)