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

Make ArrayString::as_{mut_}ptr public. #262

Closed
wants to merge 1 commit into from

Conversation

finnbear
Copy link

Motivation

I currently get the pointer via impl Deref<Target = str> but Miri complains (stacked borrows) when I write past the end (in low-level serialization code).

ArrayVec::as_{mut_}ptr works for ArrayVec, so I just need the same thing for ArrayString.

@finnbear
Copy link
Author

Duplicate of recently-opened #260

@finnbear finnbear closed this Feb 28, 2024
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