about summary refs log tree commit diff
path: root/src/librustc_llvm/archive_ro.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustc_llvm/archive_ro.rs')
-rw-r--r--src/librustc_llvm/archive_ro.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_llvm/archive_ro.rs b/src/librustc_llvm/archive_ro.rs
index 0b24e55541b..6c3626cd880 100644
--- a/src/librustc_llvm/archive_ro.rs
+++ b/src/librustc_llvm/archive_ro.rs
@@ -94,7 +94,7 @@ impl<'a> Iterator for Iter<'a> {
             ::last_error().map(Err)
         } else {
             Some(Ok(Child {
-                ptr: ptr,
+                ptr,
                 _data: marker::PhantomData,
             }))
         }