mirror of
https://github.com/nushell/nushell.git
synced 2025-08-11 12:54:35 +02:00
Remove interpretation of Primitive::Nothing
as the number 0. (#1836)
This commit is contained in:
@ -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,
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user