Skip to content

Commit be828a0

Browse files
committed
Make IndexVec implement Send and Sync
1 parent a5f71b8 commit be828a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_data_structures/indexed_vec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ macro_rules! newtype_index {
327327
#[derive(Clone, PartialEq, Eq)]
328328
pub struct IndexVec<I: Idx, T> {
329329
pub raw: Vec<T>,
330-
_marker: PhantomData<Fn(&I)>
330+
_marker: PhantomData<fn(&I)>
331331
}
332332

333333
impl<I: Idx, T: serialize::Encodable> serialize::Encodable for IndexVec<I, T> {

0 commit comments

Comments
 (0)