Skip to content

Commit 61d5890

Browse files
committed
Rm Ord bound on Idx
1 parent 85fbc06 commit 61d5890

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_index/src

1 file changed

+1
-1
lines changed

compiler/rustc_index/src/vec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use std::vec;
1212
/// Represents some newtyped `usize` wrapper.
1313
///
1414
/// Purpose: avoid mixing indexes for different bitvector domains.
15-
pub trait Idx: Copy + 'static + Ord + Debug + Hash {
15+
pub trait Idx: Copy + 'static + Debug + Hash {
1616
fn new(idx: usize) -> Self;
1717

1818
fn index(self) -> usize;

0 commit comments

Comments
 (0)