-
Notifications
You must be signed in to change notification settings - Fork 337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document entry_point in cosmwasm-std instead of derive #2245
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting, I tested this before and thought it didn't work because it does not show up when hovering in vscode. But it does work with cargo doc, so I think we can go with it.
In https://doc.rust-lang.org/rustdoc/write-documentation/re-exports.html it is explained how all of this is supposed to work. I did not really understand all the cases but it seems to be well defined behaviour. |
@mergify backport release/1.5 release/2.0 release/2.1 |
✅ Backports have been created
|
Document entry_point in cosmwasm-std instead of derive (backport #2245)
Document entry_point in cosmwasm-std instead of derive (backport #2245)
Document entry_point in cosmwasm-std instead of derive (backport #2245)
Closes #2186
Turns out we can document the re-export instead of the function definition. This also executes the doc tests as part of cosmwasm-std.