Skip to content

Commit

Permalink
Typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
lerno committed Aug 19, 2024
1 parent 572bf8e commit a93fd8f
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 @@ -38,7 +38,7 @@ is typically done using the `any_make` function: `any_make(ptr, type)`
will create an `any` pointing to `ptr` and with typeid `type`.

Since the runtime `typeid` is available, we can query for any runtime `typeid` property available
at runtime, for example the size, e.g. `my_any.typeid.sizeof`. This allows us to do a lot of work
at runtime, for example the size, e.g. `my_any.type.sizeof`. This allows us to do a lot of work
on with the enclosed data without knowing the details of its type.

For example, this would make a copy of the data and place it in the variable `any_copy`:
Expand Down

0 comments on commit a93fd8f

Please sign in to comment.