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

Add slice_axis_move method #1211

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jturner314
Copy link
Member

@jturner314 jturner314 commented Sep 24, 2022

No description provided.

///
/// **Panics** if an index is out of bounds or step size is zero.<br>
/// **Panics** if `axis` is out of bounds.
#[must_use = "slice_axis_move returns an array with the sliced result"]
Copy link
Member

@bluss bluss Nov 12, 2022

Choose a reason for hiding this comment

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

oh I was going to ask about the must_use, ownership semantics should mean we don't need it. But ArrayViews can be copy, so it applies well there. Nice catch.

bluss
bluss approved these changes Nov 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants