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 as_ptr and as_mut_ptr on ArrayString public #260

Merged
merged 2 commits into from
Mar 7, 2024

Conversation

YuhanLiin
Copy link
Contributor

Allows pointer operations on ArrayString. In particular, it allows access of the underlying array beyond the length of the string. These methods are already available on ArrayVec, so it makes to add them to the string as well.

@bluss bluss merged commit 7a1722e into bluss:master Mar 7, 2024
@YuhanLiin YuhanLiin deleted the string-as-ptr branch April 13, 2024 16:35
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.

2 participants