Update compiler/rustc_index/src/vec.rs
Co-authored-by: Wesley Wiser <wwiser@gmail.com>
This commit is contained in:
parent
ee8510e4e1
commit
00ada8e30c
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ use crate::{Idx, IndexSlice};
|
|||
/// you almost certainly want to use a [`newtype_index!`]-generated type instead.
|
||||
///
|
||||
/// This allows to index the IndexVec with the new index type.
|
||||
///
|
||||
/// [`newtype_index!`]: ../macro.newtype_index.html
|
||||
#[derive(Clone, PartialEq, Eq, Hash)]
|
||||
#[repr(transparent)]
|
||||
|
|
Loading…
Add table
Reference in a new issue