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

Adding #[must_use] mark to rotate function #196

Open
Boris00035 opened this issue Nov 27, 2024 · 0 comments
Open

Adding #[must_use] mark to rotate function #196

Boris00035 opened this issue Nov 27, 2024 · 0 comments

Comments

@Boris00035
Copy link

Title says it all, this mark would make the rust compiler tell the user of the function that they should use the functions output, to signify that this function is not in-place (in contrast to flipv/fliph)

Personally caused me some confusion since i assumed that since flipv and fliph operate in-place, rotate would aswell, this flag would have made me realise that it doesnt earlier.

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

No branches or pull requests

1 participant