bugfix(corelib): Maded bounde-int type pub. - #9882
Conversation
PR SummaryLow Risk Overview Reviewed by Cursor Bugbot for commit 4252dae. Bugbot is set up for automated code reviews on this repo. Configure here. |
TomerStarkware
left a comment
There was a problem hiding this comment.
@TomerStarkware reviewed 1 file and all commit messages, and made 1 comment.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on orizi).

Summary
BoundedIntis changed frompub(crate)visibility to fullypub, making it part of the public API.Type of change
Please check one:
Why is this change needed?
BoundedIntwas previously restricted to crate-internal use only, preventing external consumers from referencing or using this type directly. Exposing it publicly allows downstream users and libraries to leverage bounded integer types in their own code.What was the behavior or documentation before?
BoundedInt<MIN, MAX>was declaredpub(crate), meaning it could only be used within thecorelibcrate itself.What is the behavior or documentation after?
BoundedInt<MIN, MAX>is now declaredpub, making it accessible to any external crate or user code that imports it fromcorelib::internal::bounded_int.Related issue or discussion (if any)
Additional context
Note that
BoundedIntGuaranteeremainspub(crate)and is not affected by this change.