From 407f1809821086afc520694e0a34e264679a6bb5 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Mon, 20 Dec 2021 17:25:14 -0500 Subject: Hotfix/doc typos3 (#2065) * #include an absolute path didn't work - because paths were taken to always be relative. * Fix typos in docs. * Fix some typos. --- docs/language-reference/05-expressions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/language-reference/05-expressions.md') diff --git a/docs/language-reference/05-expressions.md b/docs/language-reference/05-expressions.md index 4879d5a5f..ea5c37ee0 100644 --- a/docs/language-reference/05-expressions.md +++ b/docs/language-reference/05-expressions.md @@ -345,7 +345,7 @@ useNegative ? -1.0f : 1.0f The condition may be either a single value of type `bool`, or a vector of `bool`. When a vector of `bool` is used, the two values being selected between must be vectors, and selection is performed component-wise. -> Note: Unlike C, C++, GLSL, and most other C-family languages, Slang currently follows the precedent of HLSL where `?:` does not short-cirucuit. +> Note: Unlike C, C++, GLSL, and most other C-family languages, Slang currently follows the precedent of HLSL where `?:` does not short-circuit. > > This decision may change (for the scalar case) in a future version of the language. > Programmer are encouraged to write code that does not depend on whether or not `?:` short-circuits. -- cgit v1.2.3