Update compiler/rustc_index/src/vec.rs

Co-authored-by: Wesley Wiser <wwiser@gmail.com>
This commit is contained in:
Ardi
2024-01-26 08:37:37 +01:00
committed by GitHub
parent ee8510e4e1
commit 00ada8e30c

View File

@@ -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)]