summaryrefslogtreecommitdiff
path: root/docs/user-guide/02-conventional-features.md
diff options
context:
space:
mode:
authoraidanfnv <aidanf@nvidia.com>2025-05-08 10:00:49 -0700
committerGitHub <noreply@github.com>2025-05-08 17:00:49 +0000
commit2b8152110b9a41672dd4dd5f528aa23caa8e88a3 (patch)
treea2f3741e35ed832117394edf3cf8e64fee4777ca /docs/user-guide/02-conventional-features.md
parent09c13a3f5829a77408b825a179168323a410e08a (diff)
Fix broken links in Slang docs (#7039)
This change fixes some broken links/anchors in the Slang docs that I found after running a link checker tool on the readthedocs site. Some of these were broken on GitHub Pages as well, such as anchors with apostrophes or docs that were moved. The doc writer change adds an explicit .html extension to Parameter links, so that Sphinx/RTD does not treat it as an anchor.
Diffstat (limited to 'docs/user-guide/02-conventional-features.md')
-rw-r--r--docs/user-guide/02-conventional-features.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/user-guide/02-conventional-features.md b/docs/user-guide/02-conventional-features.md
index 695d61e81..21387af3e 100644
--- a/docs/user-guide/02-conventional-features.md
+++ b/docs/user-guide/02-conventional-features.md
@@ -1065,7 +1065,7 @@ struct GenerateCtor1 : GenerateCtorInner1
GenerateCtor1 val[2] = { { 3 }, { 2 } };
```
-In addition, Slang also provides compatibility support for C-style initializer lists with `struct`s. C-style initializer lists can use [Partial Initializer List's](#Partial-Initializer-List's) and [Flattened Array Initializer With Struct's](#Flattened-Array-Initializer-With-Struct)
+In addition, Slang also provides compatibility support for C-style initializer lists with `struct`s. C-style initializer lists can use [Partial Initializer List's](#Partial-Initializer-Lists) and [Flattened Array Initializer With Struct's](#Flattened-Array-Initializer-With-Structs)
A struct is considered a C-style struct if:
1. User never defines a custom constructor with **more than** 0 parameters