We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85fbc06 commit 61d5890Copy full SHA for 61d5890
compiler/rustc_index/src/vec.rs
@@ -12,7 +12,7 @@ use std::vec;
12
/// Represents some newtyped `usize` wrapper.
13
///
14
/// Purpose: avoid mixing indexes for different bitvector domains.
15
-pub trait Idx: Copy + 'static + Ord + Debug + Hash {
+pub trait Idx: Copy + 'static + Debug + Hash {
16
fn new(idx: usize) -> Self;
17
18
fn index(self) -> usize;
0 commit comments