Remove interpretation of Primitive::Nothing as the number 0. (#1836)

This commit is contained in:
Jason Gedge
2020-05-18 15:18:46 -04:00
committed by GitHub
parent 0743b69ad5
commit 6efabef8d3
8 changed files with 6 additions and 18 deletions

View File

@ -105,7 +105,6 @@ impl num_traits::Zero for Primitive {
Primitive::Int(int) => int.is_zero(),
Primitive::Decimal(decimal) => decimal.is_zero(),
Primitive::Bytes(size) => size.is_zero(),
Primitive::Nothing => true,
_ => false,
}
}