Skip to content

Commit 75617d8

Browse files
committed
Fix warning of function only used in integration tests
1 parent 853bbb5 commit 75617d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gdnative-core/src/core_types/transform2d.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@ impl std::ops::Mul<Transform2D> for Transform2D {
281281
}
282282
}
283283

284+
#[cfg(feature = "gd_test")]
284285
fn test_transform2d_behavior_impl() {
285286
let api = crate::private::get_api();
286287

0 commit comments

Comments
 (0)