summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorElie Michel <eliemichel@users.noreply.github.com>2024-05-30 20:59:39 +0200
committerGitHub <noreply@github.com>2024-05-30 11:59:39 -0700
commit523a637a7a44858140d6b22746daf9cf5281772e (patch)
treef1c7c254a754fe3037f3c963effcce5cc2b32477 /docs
parentdaec0a3d00576f0d76ba2d257380a15f9e2a437f (diff)
Fix confusion in Translation Units doc (#4245)
I think the sentence was saying the opposite of what it meant! Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/user-guide/08-compiling.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/user-guide/08-compiling.md b/docs/user-guide/08-compiling.md
index 69ead7b81..5701354a6 100644
--- a/docs/user-guide/08-compiling.md
+++ b/docs/user-guide/08-compiling.md
@@ -31,7 +31,7 @@ Note that the `#include`d files do not become additional source units; they are
Source units (such as files) are grouped into _translation units_, and each translation unit will produce a single _module_ when compiled.
While the source units are all preprocessed and parsed independently, semantic checking is applied to a translation unit as a whole.
-One source file in a translation unit may freely refer to declarations in another translation unit without any need for forward declarations. For example:
+One source file in a translation unit may freely refer to declarations in another source file from the same translation unit without any need for forward declarations. For example:
```hlsl
// A.slang