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: export accounts module, re-export its types in the prelude #1208

Merged

Conversation

paul-schaaf
Copy link
Contributor

@paul-schaaf paul-schaaf commented Dec 29, 2021

changes:

  • export accounts module. Make prelude re-export structs from accounts module instead of redefining them. From now on, account types are no longer available under the root but have to be imported from the prelude or the accounts module
  • remove deprecated accounts from prelude (I thought this made sense so new users dont use it but it's not required for this PR)

partially fixes #1206

@paul-schaaf paul-schaaf marked this pull request as ready for review January 2, 2022 19:13
lang/src/accounts/mod.rs Outdated Show resolved Hide resolved
lang/src/lib.rs Outdated Show resolved Hide resolved
@armaniferrante armaniferrante merged commit a830644 into coral-xyz:master Jan 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

lang, docs: anchor does not export data structures idiomatically
2 participants