diff options
| author | Alexis Beingessner <a.beingessner@gmail.com> | 2017-04-04 12:31:38 -0400 |
|---|---|---|
| committer | Alexis Beingessner <a.beingessner@gmail.com> | 2017-05-04 23:54:54 -0400 |
| commit | 4ff583b1161c5c2e08c28a0740f34a526b39a8bc (patch) | |
| tree | 87c20810517afc4920da1ab90e78f7585790d284 /src/librustc_data_structures/array_vec.rs | |
| parent | 6e2efe3aa477bdc8d7ccdb904523ad18d612bbb6 (diff) | |
| download | rust-4ff583b1161c5c2e08c28a0740f34a526b39a8bc.tar.gz rust-4ff583b1161c5c2e08c28a0740f34a526b39a8bc.zip | |
fallout from NonZero/Unique/Shared changes
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; |
