Skip to content

Commit 4a89765

Browse files
committed
rename as_primitive -> cast
Signed-off-by: Joe Isaacs <[email protected]>
1 parent c4220e8 commit 4a89765

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vortex-scalar/src/primitive.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -995,7 +995,7 @@ mod tests {
995995
// Test f16 to f64 conversion
996996
assert!(f64::from_f16(f16_val).is_some());
997997

998-
// Test f16 to integer conversion (should fail)
998+
// Test PValue::F16(f16) to integer conversion (should fail)
999999
assert!(i32::try_from(PValue::from(f16_val)).is_err());
10001000
assert!(u32::try_from(PValue::from(f16_val)).is_err());
10011001
}

0 commit comments

Comments
 (0)