Skip to content

Replace RawArrayBuffer with NonNull<[u8]> - #738

Merged
richarddd merged 1 commit into
DelSkayn:masterfrom
goffrie:remove-rawarraybuffer
Sep 4, 2026
Merged

Replace RawArrayBuffer with NonNull<[u8]>#738
richarddd merged 1 commit into
DelSkayn:masterfrom
goffrie:remove-rawarraybuffer

Conversation

@goffrie

@goffrie goffrie commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Description of changes

The RawArrayBuffer type is less convenient and wasn't even exported publicly, so it couldn't be named and its docs weren't visible.
This moves the safety documentation to the as_raw() methods instead.

Checklist

  • Added change to the changelog
  • Created unit tests for my feature if needed

@richarddd richarddd left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@goffrie
goffrie force-pushed the remove-rawarraybuffer branch from 83c6446 to ac0edca Compare September 3, 2026 17:49
@goffrie

goffrie commented Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

Sorry, I checked that things actually compile this time 😆

@richarddd
richarddd merged commit 761f4e3 into DelSkayn:master Sep 4, 2026
35 checks passed
@goffrie
goffrie deleted the remove-rawarraybuffer branch September 4, 2026 18:17
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