Skip to main content

ps_ecc/cow/implementations/
partial_ord.rs

1use std::cmp::Ordering;
2
3use crate::Cow;
4
5impl PartialOrd for Cow<'_> {
6    fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
7        Some(self.cmp(other))
8    }
9}