From 81f81f09f375b91a67eba28975ceb36b49b03428 Mon Sep 17 00:00:00 2001 From: Ellen Arteca Date: Tue, 10 Dec 2024 14:11:06 -0800 Subject: [PATCH] typo --- feature_tests/src/traits.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feature_tests/src/traits.rs b/feature_tests/src/traits.rs index 79bd05238..41f10338e 100644 --- a/feature_tests/src/traits.rs +++ b/feature_tests/src/traits.rs @@ -18,7 +18,7 @@ mod ffi { impl TraitWrapper { pub fn test_with_trait(t: impl TesterTrait, x: i32) -> i32 { t.test_void_trait_fn(); - t.test_trait_fn(x) + t.test_trait_fn(x.try_into().unwrap()).try_into().unwrap() } pub fn test_trait_with_struct(t: impl TesterTrait) -> i32 {