Skip to content

Commit

Permalink
pub
Browse files Browse the repository at this point in the history
  • Loading branch information
fzyzcjy committed Jul 3, 2024
1 parent 814d869 commit 9bd7395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frb_example/dart_minimal/rust/src/api/minimal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ pub trait MyTraitToBeUsedAsBoxDyn {
fn my_method_twin_normal(&self);
}

fn function_with_box_dyn_trait(arg: Box<dyn MyTraitToBeUsedAsBoxDyn>) {
pub fn function_with_box_dyn_trait(arg: Box<dyn MyTraitToBeUsedAsBoxDyn>) {
let _ = arg;
}

0 comments on commit 9bd7395

Please sign in to comment.