Skip to content

Commit 1692fed

Browse files
typo: backtick this in struct methods note (#57)
1 parent 96bc472 commit 1692fed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Structs have the following properties:
3737
- 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.
3838
- They can only extend other structs.
3939
- The struct constructor itself is also sealed.
40-
- Struct methods are non-generic. Their this value must be an instance of the struct or of a subclass.
40+
- Struct methods are non-generic. Their `this` value must be an instance of the struct or of a subclass.
4141

4242
Struct declarations use the `struct` keyword, and share their syntax with `class` declarations.
4343

0 commit comments

Comments
 (0)