Closed

Description
Here's what I think is wrong:
- The keywords
pub
, andconst
appear next to the name of the constant, when clearly they are redundant. - Accessing the constants page through search brings the user to an empty page.
- The value assigned to the constant appears along side its name.
When reading the documentation of constants, the most important information is the name of the constant and its description. Having the declaration appear inline makes scanning for the name of harder.
Better output would replace the declaration with the name of the constant followed by its type.
Also it would move the declaration of the constant to the empty page mentioned in point 2 and have the identifier of the constant link to this page.
All these points are relevant for statics as well.
This page should show the definition and a description of the constant: