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

refactor: use get_copy for primitives #53

Merged
merged 1 commit into from
Jun 10, 2024
Merged

refactor: use get_copy for primitives #53

merged 1 commit into from
Jun 10, 2024

Conversation

zlangley
Copy link
Contributor

No description provided.

@zlangley zlangley requested a review from jonathanpwang June 10, 2024 14:16
decomp: usize,
// num_limbs is the number of limbs we decompose each input into, not including the last shifted limb
#[getset(get)]
#[getset(get_copy)]
Copy link
Contributor

Choose a reason for hiding this comment

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

is this one still needed given the global one?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The global one makes all the getters public, but this one was private before. This should override back to private.

Copy link
Contributor

@jonathanpwang jonathanpwang left a comment

Choose a reason for hiding this comment

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

LGTM

@zlangley zlangley merged commit 45249cf into main Jun 10, 2024
3 checks passed
@zlangley zlangley deleted the get_copy branch June 10, 2024 14:37
luffykai pushed a commit that referenced this pull request Dec 13, 2024
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