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 field access from EmptyCallback #615

Open
dvdsk opened this issue Sep 16, 2024 · 0 comments
Open

Remove field access from EmptyCallback #615

dvdsk opened this issue Sep 16, 2024 · 0 comments
Labels
breaking Proposed change that would break the public API

Comments

@dvdsk
Copy link
Collaborator

dvdsk commented Sep 16, 2024

There is no reason why this:

pub phantom_data: PhantomData<S>,

is public. Same for the callback. The struct should only be made by the factory function EmptyCallback::new.

@dvdsk dvdsk added the breaking Proposed change that would break the public API label Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Proposed change that would break the public API
Projects
None yet
Development

No branches or pull requests

1 participant