lang: add the InitSpace macro#2346
Conversation
|
@Aursen is attempting to deploy a commit to the coral-xyz Team on Vercel. A member of the Team first needs to authorize it. |
|
@Henry-E What do you want for the name of the macro? InitSpace, MaxSpace, Space or other? |
|
The Aside from the failing tests, is the PR feature complete now in your opinion? |
I think so, I hope I haven't missed anything. |
|
This looks good but we should give it a doc string similar to what the other macros have and maybe reference somewhere in the rest of the rust docs. I will look into adding this maybe. Edit: Actually no, I see the doc string above the derive |
|
@Henry-E I added a test and fixed the issue normally |
|
@Aursen final thing is just to add a changelog surfacing the new macro! |
|
Thanks for the great work! |
Adds a new macro to automatically calculate the space.
What remains to be done is: