Skip to content

Commit 2433542

Browse files
committed
Remove IndexSlice::convert_index_type.
1 parent 8b18c16 commit 2433542

File tree

1 file changed

+0
-4
lines changed
  • compiler/rustc_index/src

1 file changed

+0
-4
lines changed

compiler/rustc_index/src/vec.rs

-4
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,6 @@ impl<I: Idx, T> IndexVec<I, T> {
137137
self.raw.truncate(a)
138138
}
139139

140-
pub fn convert_index_type<Ix: Idx>(self) -> IndexVec<Ix, T> {
141-
IndexVec::from_raw(self.raw)
142-
}
143-
144140
/// Grows the index vector so that it contains an entry for
145141
/// `elem`; if that is already true, then has no
146142
/// effect. Otherwise, inserts new values as needed by invoking

0 commit comments

Comments
 (0)