summaryrefslogtreecommitdiffstats
path: root/docs/design/casting.md
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2024-11-29 14:02:19 +0700
committerGitHub <noreply@github.com>2024-11-29 15:02:19 +0800
commitc3557978cf0184aaf75c27c309bc87e84fd6ab79 (patch)
treee7372839055ca3a7f2ad7b3aa7c895e428778533 /docs/design/casting.md
parent71f97268789164bd77614636536172ba657c6a57 (diff)
docs: Reduce typo count (#5671)
Co-authored-by: Ellie Hermaszewska <ellieh@nvidia.com>
Diffstat (limited to 'docs/design/casting.md')
-rw-r--r--docs/design/casting.md6
1 files changed, 1 insertions, 5 deletions
diff --git a/docs/design/casting.md b/docs/design/casting.md
index 80c1f149f..6eafea1ac 100644
--- a/docs/design/casting.md
+++ b/docs/design/casting.md
@@ -146,9 +146,5 @@ The following code shows the change in behavior of 'as' is based on the source *
SLANG_ASSERT(as<NamedExpression>(exprType) == nullptr);
// dynamicCast is always the same object returned, so must match
- SLANG_ASSERT(dynamcCast<NamedExpression(exprType) == exprType);
+ SLANG_ASSERT(dynamicCast<NamedExpression>(exprType) == exprType);
```
-
-
-
- \ No newline at end of file