diff --git a/src/lib.rs b/src/lib.rs index d51cffa..b7761bf 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -82,9 +82,9 @@ use core::ops::{Deref, DerefMut}; /// } /// } /// ``` -pub trait ArbitraryOrd: Eq + PartialEq { +pub trait ArbitraryOrd: Eq + PartialEq { /// Implements a meaningless, arbitrary ordering. - fn arbitrary_cmp(&self, other: &Self) -> Ordering; + fn arbitrary_cmp(&self, other: &Rhs) -> Ordering; } /// A wrapper type that implements `PartialOrd` and `Ord`.