Skip to main content

canonical_order

Function canonical_order 

Source
pub fn canonical_order(ids: &mut [FrameId])
Expand description

Sort a set of frame identities into the protocol’s canonical composition order (docs/context-reuse.md §1). A thin, explicit wrapper over the derived Ord so call sites read as intent, not a bare .sort().