« first day (2865 days earlier)      last day (617 days later) » 

9:41 PM
Just a quick question regarding [naming conventions](https://rust-lang.github.io/api-guidelines/naming.html) for constants. I know they're supposed to use `SCREAMING_UPPER_CASE`. What I'd like to confirm is if that's for all of them regarding of context. For example, for variants, we use `UpperCamelCase` (e.g. `MyEnum::MyVariant`), but if you have a field-only struct, such as:


#[non_exhaustive]
#[derive(...)]
struct FieldStruct {
// option A
pub const MyConstant: ByteUnit = 256.bytes();

// option B
Correction: Does this distinction make a styling difference [...]*
 
 
2 hours later…
11:16 PM
Maybe a better question would be if I should be using field-only structs for consts or if I should use a stand-alone module instead (e.g. Limits::SOME_LIMIT vs limits::SOME_LIMIT)...
Seems like maybe it should be the latter.
 

« first day (2865 days earlier)      last day (617 days later) »