diff options
| author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2017-12-03 14:22:23 +0100 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2017-12-21 19:21:40 +0100 |
| commit | 30a39ac5cee8fcd172ab88ff3ee0b0e71dc80c4c (patch) | |
| tree | 9739abad1956542148030bc6e63a618261dfb541 /src/librustc_data_structures | |
| parent | aa6065bd70482cffb23602d59940ade0b290a208 (diff) | |
| download | rust-30a39ac5cee8fcd172ab88ff3ee0b0e71dc80c4c.tar.gz rust-30a39ac5cee8fcd172ab88ff3ee0b0e71dc80c4c.zip | |
Make IndexVec implement Send and Sync
Diffstat (limited to 'src/librustc_data_structures')
| -rw-r--r-- | src/librustc_data_structures/indexed_vec.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_data_structures/indexed_vec.rs b/src/librustc_data_structures/indexed_vec.rs index 19528a14038..753f12f400b 100644 --- a/src/librustc_data_structures/indexed_vec.rs +++ b/src/librustc_data_structures/indexed_vec.rs @@ -327,7 +327,7 @@ macro_rules! newtype_index { #[derive(Clone, PartialEq, Eq)] pub struct IndexVec<I: Idx, T> { pub raw: Vec<T>, - _marker: PhantomData<Fn(&I)> + _marker: PhantomData<fn(&I)> } // Whether `IndexVec` is `Send` depends only on the data, |
