We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b28c40a commit 3acdb33Copy full SHA for 3acdb33
src/lib.rs
@@ -394,7 +394,7 @@ impl SslSession {
394
395
impl PartialOrd<Self> for SslSession {
396
fn partial_cmp(&self, other: &Self) -> Option<cmp::Ordering> {
397
- Some(self.id.cmp(&other.id))
+ Some(self.cmp(other))
398
}
399
400
src/not_thread_safe.rs
@@ -50,7 +50,7 @@ impl<T: Ord + PartialOrd> Ord for NotThreadSafe<T> {
50
51
impl<T: PartialOrd<T> + Ord> PartialOrd for NotThreadSafe<T> {
52
53
- Some(self.get().cmp(other.get()))
54
55
56
0 commit comments