refactor: PR feedback

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

View File

@ -301,11 +301,7 @@ impl BlockData {
/// Initialise an empty `BlockData` with capacity `other.len()` values.
fn new_from_data(other: &Self) -> Self {
match other {
Self::Float {
i: _,
ts: _,
values: _,
} => Self::Float {
Self::Float { .. } => Self::Float {
i: 0,
ts: Vec::with_capacity(other.len()),
values: Vec::with_capacity(other.len()),