Skip to content

#267 Modify get_attribute_info_map to take slice instead of vec #273

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

Conversation

ivozeba
Copy link
Contributor

@ivozeba ivozeba commented May 9, 2025

Modified the argument from vec to slice as highlighted in #267 and updated the only test case that used get_attribute_info_map.

@ivozeba ivozeba force-pushed the get_attribute_info_map-AttributeType-slice branch from f2ee601 to be6dd3f Compare May 9, 2025 21:46
@ivozeba ivozeba changed the title Modify get_attribute_info_map to take slice instead of vec #267 Modify get_attribute_info_map to take slice instead of vec May 9, 2025
hug-dev
hug-dev previously approved these changes May 12, 2025
Copy link
Member

@hug-dev hug-dev left a comment

Choose a reason for hiding this comment

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

Thanks for picking this up ⭐ !

@wiktor-k
Copy link
Collaborator

Yep, it looks good, but please cargo fmt and add Fixes: https://github.com/parallaxsecond/rust-cryptoki/issues/267 to the commit message.

@wiktor-k wiktor-k enabled auto-merge May 13, 2025 11:02
@wiktor-k wiktor-k merged commit 68f736e into parallaxsecond:main May 13, 2025
8 checks passed
@ivozeba ivozeba deleted the get_attribute_info_map-AttributeType-slice branch May 13, 2025 11:21
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.

Consider changing get_attribute_info_map from taking a Vec to taking a slice
3 participants