Skip to content

Commit 725a7e5

Browse files
committed
fix clippy warnings: this looks like a formatting argument but it is not part of a formatting macro
1 parent 71bbfb8 commit 725a7e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

itest/rust/src/builtin_tests/geometry/quaternion_test.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ fn quaternion_from_axis_angle() {
4141
assert_eq_approx!(quat.w, 0.877583);
4242

4343
// 2. Should panic if axis is not normalized.
44-
expect_panic("Quaternion axis {axis:?} is not normalized.", || {
44+
expect_panic("Quaternion axis (0, 0, 0) is not normalized.", || {
4545
Quaternion::from_axis_angle(Vector3::ZERO, 1.0);
4646
});
4747

48-
expect_panic("Quaternion axis {axis:?} is not normalized.", || {
48+
expect_panic("Quaternion axis (0, 0.7, 0) is not normalized.", || {
4949
Quaternion::from_axis_angle(Vector3::UP * 0.7, 1.0);
5050
});
5151
}

0 commit comments

Comments
 (0)