diff --git a/flexstr/src/impls.rs b/flexstr/src/impls.rs index 322167f..4a16529 100644 --- a/flexstr/src/impls.rs +++ b/flexstr/src/impls.rs @@ -198,7 +198,7 @@ where { #[inline] fn partial_cmp(&self, other: &Self) -> Option { - str::partial_cmp(self, other) + str::partial_cmp(self, &**other) } }