summaryrefslogtreecommitdiff
path: root/docs/user-guide/02-conventional-features.md
diff options
context:
space:
mode:
authorYuki Nishidate <30839669+yknishidate@users.noreply.github.com>2024-12-29 02:22:00 +0900
committerGitHub <noreply@github.com>2024-12-28 17:22:00 +0000
commitc4429bc33450be32ed82358c3974da58e5ec25ab (patch)
treebe20e7a4192d8a285e4f4136980686ac4a768179 /docs/user-guide/02-conventional-features.md
parent478be540a6f93ffcb552e496c41fe1c278ae054e (diff)
Fix tiny typos (#5944)
Diffstat (limited to 'docs/user-guide/02-conventional-features.md')
-rw-r--r--docs/user-guide/02-conventional-features.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/user-guide/02-conventional-features.md b/docs/user-guide/02-conventional-features.md
index f4d6816db..c59999ce3 100644
--- a/docs/user-guide/02-conventional-features.md
+++ b/docs/user-guide/02-conventional-features.md
@@ -995,7 +995,7 @@ float3 a[3] = {1,2,3, 4,5,6};
### Initializer Lists - Struct
-In most scenarios, using an initializer list to create a struct typed value is equivalent to calling the struct's constructor using the elements in the initilaizer list as arguments for the constructor, for example:
+In most scenarios, using an initializer list to create a struct typed value is equivalent to calling the struct's constructor using the elements in the initializer list as arguments for the constructor, for example:
```csharp
struct GenerateCtorInner1
{
@@ -1061,7 +1061,7 @@ In addition, Slang also provides compatibility support for C-style initializer l
A struct is considered a C-style struct if:
1. User never defines a custom constructor with **more than** 0 parameters
-2. All member variables in a `struct` have the same visibiliity (`public` or `internal` or `private`).
+2. All member variables in a `struct` have the same visibility (`public` or `internal` or `private`).
#### Partial Initializer List's