Skip to content

[WIP] der: use *Ref types based on fat pointers #1853

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

Closed
wants to merge 1 commit into from

Conversation

tarcieri
Copy link
Member

@tarcieri tarcieri commented Jun 2, 2025

This is a demonstration of how the *Ref types can be converted into repr(transparent) newtypes of underlying byte slices which can impl ToOwned and thus work with alloc::borrow::Cow

cc @dishmaker

@tarcieri
Copy link
Member Author

tarcieri commented Jul 7, 2025

Closing in favor of #1921

@tarcieri tarcieri closed this Jul 7, 2025
@tarcieri tarcieri deleted the der/fat-pointer-ref-types branch July 7, 2025 20:27
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