Skip to content

Commit 9e1e476

Browse files
authored
Update cmp.rs
line 1352, delete parentheses for reviewers asking for it.
1 parent 5e9e73c commit 9e1e476

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/cmp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1349,7 +1349,7 @@ mod impls {
13491349
impl PartialOrd for $t {
13501350
#[inline]
13511351
fn partial_cmp(&self, other: &$t) -> Option<Ordering> {
1352-
match ((*self) <= (*other), (*self) >= (*other)) {
1352+
match (*self <= *other, *self >= *other) {
13531353
(false, false) => None,
13541354
(false, true) => Some(Greater),
13551355
(true, false) => Some(Less),

0 commit comments

Comments
 (0)