Skip to content

Commit

Permalink
Correct PostgresOrd test slightly
Browse files Browse the repository at this point in the history
Ignore remarks about mutating comparisons!
...well, it still takes by-value.
  • Loading branch information
workingjubilee committed Aug 17, 2023
1 parent a8a09a0 commit 6bd46c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pgrx-tests/tests/ui/total_ord_for_postgres_ord.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pub struct BrokenType {
}

impl BrokenType {
fn cmp(&mut self, _other: &Self) -> Anything {
fn cmp(self, _other: &Self) -> Anything {
Anything::Whatever
}
}
Expand Down

0 comments on commit 6bd46c9

Please sign in to comment.