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

chore: remove public visibility of b58 error variant #414

Merged
merged 5 commits into from
May 14, 2021

Conversation

austinabell
Copy link
Contributor

As pointed out by @matklad here it's probably best if we don't expose the error variants, to make it easier to make changes without being stuck to specific impls (in this case the base 58 error).

Probably best if this comes in before the next release, sorry for overlooking exposing this!

near-sdk/src/json_types/public_key.rs Outdated Show resolved Hide resolved
@matklad
Copy link
Contributor

matklad commented May 12, 2021

sorry for overlooking exposing this!

No worries, that's what reviews are for! I guess, a useful action item here would be, before the next release, for someone to walk through the generated rustdoc documentation, to see if the API accidentlally exposes stuff it shouldn't.

@mikedotexe mikedotexe merged commit cfcae2b into master May 14, 2021
@mikedotexe mikedotexe deleted the austin/hide_b58_error branch May 14, 2021 16:57
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.

4 participants