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

MSRV=1.75: RPITIT; fixes #433

Merged
merged 6 commits into from
Dec 29, 2023
Merged

MSRV=1.75: RPITIT; fixes #433

merged 6 commits into from
Dec 29, 2023

Conversation

dhardy
Copy link
Collaborator

@dhardy dhardy commented Dec 29, 2023

Some fixes to reduce resize/set_size in examples/data-list-view.rs.

Bump MSRV to 1.75 and make use of RPITIT.

Note: it is possible to also use RPITIT for SharedData::borrow, but since there is (currently) no mechanism to refer to the return type, it is impossible to specify (refine) that UnsafeFilteredList::borrow returns the same ItemRef type as the inner SharedData. This causes some minor issues due to the looser lifetime specification. Further, SharedData::borrow carries useful documentation. It also does not appear to simplify implementations much. It is therefore decided not to use RPITIT here.

@dhardy dhardy merged commit bdec1a6 into master Dec 29, 2023
5 checks passed
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.

1 participant