Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Ellen Arteca committed Dec 10, 2024
1 parent d063e4c commit 81f81f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feature_tests/src/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 81f81f0

Please sign in to comment.