Skip to content
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

lang: adjust program account to use PhantomData to indicate that its generic is not used in its field #1140

Closed
paul-schaaf opened this issue Dec 13, 2021 · 0 comments · Fixed by #1155
Labels

Comments

@paul-schaaf
Copy link
Contributor

paul-schaaf commented Dec 13, 2021

currently it has a _account: T field to do this. PhantomData is the idiomatic way of showing that T is not required inside the fields of the struct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant