-
Notifications
You must be signed in to change notification settings - Fork 61
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
Fix visibility of get_limbs_representations
#139
base: master
Are you sure you want to change the base?
Conversation
(Also additional tiny style fix.)
/// functions | ||
pub fn get_limbs_representations( | ||
/// functions. | ||
pub(super) fn get_limbs_representations( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's fine to leave this public, as possibly downstream code might need to use it. Maybe we can mark it as #[doc(hidden)]
instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have code that uses it, don't see why it has to be hidden even.
My move was just aligning docs and code. X)
So, if it's a first-class citizen of the API, let's rewrite its doc! Ok?
…On Thu, Feb 8 2024 at 02:30:46 AM -0800, Kristian Sosnin ***@***.***> wrote:
***@***.**** commented on this pull request.
In src/fields/emulated_fp/allocated_field_var.rs
<#139 (comment)>:
> /// This is an internal function that would be reused by a
number of other
- /// functions
- pub fn get_limbs_representations(
+ /// functions.
+ pub(super) fn get_limbs_representations(
I have code that uses it, don't see why it has to be hidden even.
—
Reply to this email directly, view it on GitHub
<#139 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APXLOTYUYB2A2BJG4Q6JVZLYSSSNNAVCNFSM6AAAAABC622JV6VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTQNRZG44DCNBWGA>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Sure, let's keep it |
Will update the PR! Give me some time to collect tiny things like
`Self` in this one for inclusion all at once.
…On Fri, Feb 9 2024 at 06:12:40 AM -0800, Pratyush Mishra ***@***.***> wrote:
Sure, let's keep it pub and change the doc. @skaunov
<https://github.com/skaunov> if you want to update the PR to do that,
that would be great
—
Reply to this email directly, view it on GitHub
<#139 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APXLOTYWTXOEL5JJC4X6MLDYSYVFRAVCNFSM6AAAAABC622JV6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZWGAYDEOBYHE>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
(Also additional tiny style fix.)