Skip to content

Commit

Permalink
Merge pull request #3218 from uint/seal-host-function-kind
Browse files Browse the repository at this point in the history
Seal `HostFunctionKind`
  • Loading branch information
syrusakbary authored Oct 5, 2022
2 parents 4ad7020 + 678cbdc commit 07c2add
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api/src/sys/externals/function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,7 @@ mod inner {
/// the trait system to automatically generate the appropriate
/// host functions.
#[doc(hidden)]
pub trait HostFunctionKind {}
pub trait HostFunctionKind: private::HostFunctionKindSealed {}

/// An empty struct to help Rust typing to determine
/// when a `HostFunction` does have an environment.
Expand Down

0 comments on commit 07c2add

Please sign in to comment.