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
We should add sections to the docs pages for associated constants on types, like float.inf. Currently only associated functions/types/elements get their own docs, but not constants.
I think we could do this by adding a #[constant] attribute to the constants in a #[scope] and then allow them to store data similar to NativeTypeData in the Binding.
Activity
MDLC01 commentedon Jun 3, 2026
Unless you are already working on this, I can give it a try
MDLC01 commentedon Jun 3, 2026
The documentation for non-associated constants, such as math spacing constants, could be improved as well (e.g., #5274).
isuffix commentedon Jun 3, 2026
Please do!
isuffix commentedon Jun 3, 2026
Although you may want to check with @saecki on whether
Bindingis the right place to store the docs or not.