From 0974463daf0982626cb2b8c8bb6f494f3e6c9e52 Mon Sep 17 00:00:00 2001 From: Anders Leino Date: Mon, 10 Jun 2024 15:15:02 +0300 Subject: Fix typos in the docs (#4322) --- docs/design/interfaces.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/design/interfaces.md') diff --git a/docs/design/interfaces.md b/docs/design/interfaces.md index c60b01009..ce6e0be28 100644 --- a/docs/design/interfaces.md +++ b/docs/design/interfaces.md @@ -226,7 +226,7 @@ Bot the use of `&` and `where` are advanced features that we might cut due to im ### Value Parameters -Because HLSL has generics like `vector` that already take non-type parameters, the language will need *some* degree of support for generic parameters that arent' types (at least integers need to be supported). +Because HLSL has generics like `vector` that already take non-type parameters, the language will need *some* degree of support for generic parameters that aren't types (at least integers need to be supported). We need syntax for this that doesn't bloat the common case. In this case, I think that what I've used in the current Slang implementation is reasonable, where a value parameter needs a `let` prefix: -- cgit v1.2.3