Skip to content

Commit

Permalink
Fix array_into_iter warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss authored and alexcrichton committed Nov 18, 2019
1 parent fdddce5 commit 6949470
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packbuilder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ mod tests {
}

fn pack_header(len: u8) -> Vec<u8> {
[].into_iter()
[].iter()
.chain(b"PACK") // signature
.chain(&[0, 0, 0, 2]) // version number
.chain(&[0, 0, 0, len]) // number of objects
Expand Down

0 comments on commit 6949470

Please sign in to comment.