Skip to content

Commit

Permalink
Remove unecessary boxing
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathas-Conceicao <jonathas.conceicao@ossystems.com.br>
  • Loading branch information
Jonathas-Conceicao authored and otavio committed Apr 17, 2020
1 parent 4c6d142 commit 7a39063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ where
}

let mut pipe = Pipe {
reader: &mut Box::new(reader),
reader,
buffer: &mut [0; READER_BUFFER_SIZE],
};

Expand Down

0 comments on commit 7a39063

Please sign in to comment.