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

Remove unnecessary methods #25

Merged
merged 1 commit into from
Dec 29, 2024

Conversation

tcharding
Copy link
Member

We implement a bunch of traits for getting at the inner field. Also, the inner field is public. The into_inner and as_inner methods are just clutter - remove them.

Don't bother doing a deprecation cycle because this change (and crate) is so trivial.

We implement a bunch of traits for getting at the inner field. Also, the
inner field is public. The `into_inner` and `as_inner` methods are just
clutter - remove them.

Don't bother doing a deprecation cycle because this change (and crate)
is so trivial.
@tcharding tcharding merged commit 8499fa5 into rust-bitcoin:master Dec 29, 2024
11 checks passed
@tcharding tcharding deleted the 12-30-rm-methods branch December 29, 2024 20:40
@tcharding
Copy link
Member Author

tcharding commented Dec 29, 2024

cc @apoelstra just flagging for transparency - I was slack here.

EDIT: Typing that shamed me into doing it properly, all while you were sleeping (see #28).

@apoelstra
Copy link
Member

Yeah, if the inner field is public I think it's fine to drop these.

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.

2 participants