You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d7f0af0
Browse filesBrowse the repository at this point in the historyBrowse files
Rollup merge of #163292 - Eleocraft:move-div-ceil, r=clarfonthey
moving div_ceil() to associated items macro
Currently the div_ceil() method of unsigned NonZero is beeing generated inside the
`nonzero_integer_signedness_dependent_impls`
macro. This seems odd, as this macro seems to otherwise only be used for Trait impls, whereas associated methods like div_ceil() are all in the
`nonzero_integer_signedness_dependent_methods`
macro. If nothing else this causes an issue in the docs, where currently all unsigned NonZero types have two documented impl blocks, one containing only div_ceil(), and the other containing the remaining associated methods and constants.
This PR assumes that this is accidental. If that is not the case then maybe the explanation should be documented somewhere instead.
0 commit comments