There is no way to currently define a trait which can both return references
to self and to passed data, which is what we would need.
Generic Associated Types may fix this and allow us to have a unified interface.
See: rust #44265
Details
Details
- Reviewers
Alphare indygreg - Group Reviewers
hg-reviewers - Commits
- rHG452ece5654c5: hg-core: remove the `Operation` trait
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
To add to this change, it's also entirely possible that we may never need the trait altogether.