Skip to content

Commit

Permalink
Fix build errors with Rust 1.73.0 (#996)
Browse files Browse the repository at this point in the history
The recent Rust 1.73.0 release introduced some changes to clippy's
behavior that are causing failures in CI (and correctly calling out
issues in our code). This commit updates the rustworkx source to correct
these failures.

(cherry picked from commit 651409f)

# Conflicts:
#	src/score.rs
  • Loading branch information
mtreinish authored and mergify[bot] committed Feb 20, 2024
1 parent 8984d9a commit 5fbbe10
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/score.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
// License for the specific language governing permissions and limitations
// under the License.
#![allow(clippy::derive_partial_eq_without_eq)]
<<<<<<< HEAD
#![allow(clippy::non_canonical_partial_ord_impl)]
=======
#![allow(clippy::incorrect_partial_ord_impl_on_ord_type)]
>>>>>>> 651409f (Fix build errors with Rust 1.73.0 (#996))

use std::cmp::Ordering;
use std::ops::{Add, AddAssign};
Expand Down

0 comments on commit 5fbbe10

Please sign in to comment.