Skip to content

Remove field access from EmptyCallback #615

@dvdsk

Description

@dvdsk

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.

Metadata

Metadata

Assignees

Labels

breakingProposed change that would break the public API

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions