Skip to content

Add missing unsafe annotations in out_of_place#9

Open
Ralith wants to merge 1 commit intoejmahler:masterfrom
Ralith:safety
Open

Add missing unsafe annotations in out_of_place#9
Ralith wants to merge 1 commit intoejmahler:masterfrom
Ralith:safety

Conversation

@Ralith
Copy link
Copy Markdown

@Ralith Ralith commented Jul 28, 2023

Contrary to their signatures, transpose_tiled and transpose_recursive are not safe. They are private, and only called with arguments for which their behavior is sound, so there is no downstream hazard, but this makes maintenance/auditing a bit easier.

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