diff options
| author | bors <bors@rust-lang.org> | 2017-05-05 23:20:32 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-05-05 23:20:32 +0000 |
| commit | 42a4f373c9bcb819b4485c97ef0df4b7d7fe98c5 (patch) | |
| tree | 0f551f3943098a8a760d67f33b3be9213e3fcb8e /src/librustc_data_structures/array_vec.rs | |
| parent | f4209651ec4d4455dab4fc3f3a3456a897d9da7f (diff) | |
| parent | 5bed9dc320144a523958dd5871164d86d363772e (diff) | |
| download | rust-42a4f373c9bcb819b4485c97ef0df4b7d7fe98c5.tar.gz rust-42a4f373c9bcb819b4485c97ef0df4b7d7fe98c5.zip | |
Auto merge of #41773 - frewsxcv:rollup, r=frewsxcv
Rollup of 9 pull requests - Successful merges: #41064, #41307, #41512, #41582, #41678, #41722, #41734, #41761, #41763 - Failed merges:
Diffstat (limited to 'src/librustc_data_structures/array_vec.rs')
| -rw-r--r-- | src/librustc_data_structures/array_vec.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_data_structures/array_vec.rs b/src/librustc_data_structures/array_vec.rs index 848e5a076bb..078bb801751 100644 --- a/src/librustc_data_structures/array_vec.rs +++ b/src/librustc_data_structures/array_vec.rs @@ -255,7 +255,7 @@ impl<'a, A: Array> Drop for Drain<'a, A> { if self.tail_len > 0 { unsafe { - let source_array_vec = &mut *self.array_vec.as_mut_ptr(); + let source_array_vec = self.array_vec.as_mut(); // memmove back untouched tail, update to new length let start = source_array_vec.len(); let tail = self.tail_start; |
