pointer-utils
pointer-utils copied to clipboard
derive PartialOrd + Ord for SliceWithHeader and StrWithHeader
Hi :wave:
As per the title, this PR derives PartialOrd and Ord
traits for SliceWithHeader and StrWithHeader types.
I just realized that simply deriving PartialOrd/Ord can lead to some unclear semantics.
I'll fix the semantics to be like (&Header, &[Item]).