Skip to content

Commit 1a90fd9

Browse files
committed
Update integration test to use new_unchecked
1 parent db69d34 commit 1a90fd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ fn not_nan64_sum_product() {
672672

673673
#[test]
674674
fn not_nan_usage_in_const_context() {
675-
const A: NotNan<f32> = unsafe { NotNan::unchecked_new(111f32) };
675+
const A: NotNan<f32> = unsafe { NotNan::new_unchecked(111f32) };
676676
assert_eq!(A, NotNan::new(111f32).unwrap());
677677
}
678678

0 commit comments

Comments
 (0)