Skip to content

Conversation

@swz-git
Copy link

@swz-git swz-git commented Jun 3, 2025

There was previously no way to get an array of slices instead of a Vec<>. This PR introduces unsafe into the codebase. An alternative approach would be to use the array-init crate.

@VirxEC
Copy link
Owner

VirxEC commented Jun 3, 2025

But, why does this need to be upstreamed? ball.step is a public function

@swz-git
Copy link
Author

swz-git commented Jun 3, 2025

Doesn't need to be upstreamed, but I found it useful and others probably do as well. Its just an alternative to get_ball_prediction_struct_for_slices.

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