refactor: PR feedback

Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>
pull/24376/head
Edd Robinson 2020-07-13 15:55:27 +01:00 committed by GitHub
parent 3096d76d77
commit ceec4c9627
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -872,8 +872,7 @@ mod tests {
#[test]
fn refill_buffer() {
let mut buf: Vec<Option<ValuePair>> = Vec::new();
buf.resize(2, None);
let mut buf = vec![None; 2];
let mut blocks = vec![
BlockData::Float {
i: 0,