-
Notifications
You must be signed in to change notification settings - Fork 94
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
Add some doc for the derive macro #301
Conversation
/// # #[derive(Encode, MaxEncodedLen)] | ||
/// #[codec(mel_bound(T: MaxEncodedLen))] | ||
/// # struct MyWrapper<T>(T); | ||
/// ``` |
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.
yes it may be overkill to set up a compiling example just to check the syntax of the attribute, but it renders fine I think
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.
Compiled examples are never an overkill 👍
Co-authored-by: David <dvdplm@gmail.com>
4e19f14
to
ff273d8
Compare
bot merge |
🤖 done |
No description provided.