Skip to content

Commit

Permalink
Make Caller::new crate private (#514)
Browse files Browse the repository at this point in the history
make Caller::new crate private
  • Loading branch information
Robbepop authored Oct 14, 2022
1 parent 1afacde commit 08933b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/wasmi/src/func/caller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub struct Caller<'a, T> {

impl<'a, T> Caller<'a, T> {
/// Creates a new [`Caller`] from the given store context and [`Instance`] handle.
pub fn new<C>(ctx: &'a mut C, instance: Option<Instance>) -> Self
pub(crate) fn new<C>(ctx: &'a mut C, instance: Option<Instance>) -> Self
where
C: AsContextMut<UserState = T>,
{
Expand Down

0 comments on commit 08933b9

Please sign in to comment.