summaryrefslogtreecommitdiff
path: root/docs/design/casting.md
diff options
context:
space:
mode:
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