From c4429bc33450be32ed82358c3974da58e5ec25ab Mon Sep 17 00:00:00 2001 From: Yuki Nishidate <30839669+yknishidate@users.noreply.github.com> Date: Sun, 29 Dec 2024 02:22:00 +0900 Subject: Fix tiny typos (#5944) --- docs/user-guide/02-conventional-features.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/user-guide/02-conventional-features.md') 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 -- cgit v1.2.3