Skip to main content

CANONICAL_SECTIONS

Constant CANONICAL_SECTIONS 

Source
pub const CANONICAL_SECTIONS: &[(u32, &str)];
Expand description

Canonical order for content_hash. Sorted alphabetically by name; this order is fixed by spec so adding new section IDs cannot reshuffle the hash. Keep this list and section IDs in sync.