Skip to content

Commit 75b1591

Browse files
authored
Fix sentence in namespaces file (#35525)
fixes #34172
1 parent 516b8b0 commit 75b1591

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/fsharp/language-reference/namespaces.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace [rec] [parent-namespaces.]identifier
1818

1919
If you want to put code in a namespace, the first declaration in the file must declare the namespace. The contents of the entire file then become part of the namespace, provided no other namespaces declaration exists further in the file. If that is the case, then all code up until the next namespace declaration is considered to be within the first namespace.
2020

21-
Namespaces cannot directly contain values and functions. Instead, values and functions must be included in modules, and modules are included in namespaces. Namespaces can contain types, modules.
21+
Namespaces cannot directly contain values and functions. Instead, values and functions must be included in modules, and modules are included in namespaces. Namespaces can contain types and modules.
2222

2323
XML doc comments can be declared above a namespace, but they're ignored. Compiler directives can also be declared above a namespace.
2424

0 commit comments

Comments
 (0)