summaryrefslogtreecommitdiff
path: root/docs/user-guide/04-modules-and-access-control.md
diff options
context:
space:
mode:
authorGangzheng Tong <gtong@nvidia.com>2025-04-11 15:34:07 -0700
committerGitHub <noreply@github.com>2025-04-11 22:34:07 +0000
commit8e6af6259bd1dd47d81c36f0562ff362ca5d42c3 (patch)
tree86e7a9671dae748922ca18eec544a318cd708443 /docs/user-guide/04-modules-and-access-control.md
parent61a6c211b1587a7b9ed6a24ae1ba6fe0600c80d8 (diff)
Fix user-guide typos (#6789)
* Fix user-guide typos Use LLM to scan each of the markdown files to fix typos. Try not to change anything but the typos in this CL. * typo not caught by LLM * add output of ./build_toc.ps1
Diffstat (limited to 'docs/user-guide/04-modules-and-access-control.md')
-rw-r--r--docs/user-guide/04-modules-and-access-control.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/user-guide/04-modules-and-access-control.md b/docs/user-guide/04-modules-and-access-control.md
index 0b4d44e0d..915c62e16 100644
--- a/docs/user-guide/04-modules-and-access-control.md
+++ b/docs/user-guide/04-modules-and-access-control.md
@@ -6,12 +6,12 @@ permalink: /user-guide/modules
Modules and Access Control
===========================
-While the preprocessor `#include`s is still supported, Slang provides a _module_ system for software engineering benefits such as clean expression of sub component boundaries and dependencies, hiding implementation details, and providing a path towards true separate compilation.
+While the preprocessor `#include` is still supported, Slang provides a _module_ system for software engineering benefits such as clean expression of subcomponent boundaries and dependencies, hiding implementation details, and providing a path towards true separate compilation.
## Defining a Module
-A module in Slang comprises one or more files. A module must have one and only one primary file that is used as the source-of-truth to uniquely identify the module. The primary file must start with `module` declaration. For example, the following code defines a module named `scene`:
+A module in Slang comprises one or more files. A module must have one and only one primary file that is used as the source-of-truth to uniquely identify the module. The primary file must start with a `module` declaration. For example, the following code defines a module named `scene`:
```
// scene.slang