From 1692fed9e5e2fd2da59226bcec88b53f4493a19d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josh=20Goldberg=20=E2=9C=A8?= Date: Thu, 14 Nov 2024 11:08:21 -0500 Subject: [PATCH] typo: backtick `this` in struct methods note (#57) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 68333a3..f355e59 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Structs have the following properties: - Struct `constructor` methods have a usable `this` value, which is the one-shot initialize instance, on entry. As a result, return override is not expressible. `super()` is still allowed, but not required. - They can only extend other structs. - The struct constructor itself is also sealed. -- Struct methods are non-generic. Their this value must be an instance of the struct or of a subclass. +- Struct methods are non-generic. Their `this` value must be an instance of the struct or of a subclass. Struct declarations use the `struct` keyword, and share their syntax with `class` declarations.