Skip to content

Commit

Permalink
Fix any field.
Browse files Browse the repository at this point in the history
  • Loading branch information
lerno committed Jul 30, 2024
1 parent 3aefa8c commit 4156761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/docs/references/docs/anyinterfaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ the enclosed type (the type the pointer points to) using the `type` field.

This allows switching over the typeid, either using a normal switch:

switch (my_any.typeid)
switch (my_any.type)
{
case Foo.typeid:
...
Expand Down

0 comments on commit 4156761

Please sign in to comment.