Skip to content

Commit

Permalink
Place an unstable warning for the call convention
Browse files Browse the repository at this point in the history
I've just added `default` in the macro definition. I didn't publish a
new release yet, pending some other call convention changes. Let's place
a warning on readme to avoid confusion in the meanwhile.
  • Loading branch information
ozars committed Apr 8, 2024
1 parent 0cfa2a6 commit ddffb2a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ fn main() {
}
```

> [!WARNING]
> The above call convention for `specialized_dispatch` macro is currently
> evolving and not yet stable. Please refer to the doc.rs documentation for the
> specific version of the crate you're using to ensure right call convention.
`example` function roughly expands to below code. Note that exact expansion is internal
implementation detail. This example is provided to demonstrate how it works under the
hood.
Expand Down

0 comments on commit ddffb2a

Please sign in to comment.