authorgravatar for 15335529+Sobeston@users.noreply.github.comSebastian <15335529+Sobeston@users.noreply.github.com> 2020-06-20 12:16:57+01:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2020-06-20 12:16:57+01:00
log85277183504148dd5c14bd153661377e76118d3b
tree5d907db3e5e290e4a826dfb5aeb96ce729860ef3
parent605769ec25923a50fc01d29d5837fbc48abffcf1
signaturebadge-question-mark Signed by PGP key 4AEE18F83AFDEB23

langref - document that This works on enums too


1 files changed, 1 insertions(+), 1 deletions(-)

doc/langref.html.in+1-1
......@@ -8204,7 +8204,7 @@ test "vector @splat" {
82048204 {#header_open|@This#}
82058205 <pre>{#syntax#}@This() type{#endsyntax#}</pre>
82068206 <p>
8207 Returns the innermost struct or union that this function call is inside.
8207 Returns the innermost struct, enum, or union that this function call is inside.
82088208 This can be useful for an anonymous struct that needs to refer to itself:
82098209 </p>
82108210 {#code_begin|test#}