-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Commit 5f3c8ef
committed
Add PartialEq and PartialOrd impls for comparing
This makes such comparisons more robust against the availability of
other impls.String
and &String
1 parent 96492ea commit 5f3c8ef
2 files changed
+4
-1
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2531 | 2531 |
| |
2532 | 2532 |
| |
2533 | 2533 |
| |
2534 | + | ||
2534 | 2535 |
| |
2535 | 2536 |
| |
2536 | 2537 |
| |
| |||
2566 | 2567 |
| |
2567 | 2568 |
| |
2568 | 2569 |
| |
2570 | + | ||
2569 | 2571 |
| |
2570 | 2572 |
| |
2571 | 2573 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
77 | 77 |
| |
78 | 78 |
| |
79 | 79 |
| |
80 | - | ||
80 | + | ||
81 | + | ||
81 | 82 |
| |
82 | 83 |
| |
83 | 84 |
| |
|
0 commit comments