diff --git a/src/progress_bar.rs b/src/progress_bar.rs
index c02b939d3b481363483776a2d5f310318637b232..597fb9552345c237ed8933974288276f0b375ab9 100644
--- a/src/progress_bar.rs
+++ b/src/progress_bar.rs
@@ -10,8 +10,8 @@ pub struct ProgressBarRead<'p, 'r, P: Write + 'p, R: Read + 'r> {
 impl<'p, 'r, P: Write, R: Read> ProgressBarRead<'p, 'r, P, R> {
     pub fn new(pb: &'p mut ProgressBar<P>, r: &'r mut R) -> ProgressBarRead<'p, 'r, P, R> {
         ProgressBarRead {
-            pb: pb,
-            r: r
+            pb,
+            r
         }
     }
 }
@@ -32,8 +32,8 @@ pub struct ProgressBarWrite<'p, 'w, P: Write + 'p, W: Write + 'w> {
 impl<'p, 'w, P: Write, W: Write> ProgressBarWrite<'p, 'w, P, W> {
     pub fn new(pb: &'p mut ProgressBar<P>, w: &'w mut W) -> ProgressBarWrite<'p, 'w, P, W> {
         ProgressBarWrite {
-            pb: pb,
-            w: w
+            pb,
+            w
         }
     }
 }