chore(runtime-core) Move one statement to be closer to the definition.

This commit is contained in:
Ivan Enderlin
2020-02-17 16:01:01 +01:00
parent a21cf6d4c3
commit 533609ff70

View File

@ -51,6 +51,8 @@ pub struct Wasm {
pub(crate) invoke_env: Option<NonNull<c_void>>, pub(crate) invoke_env: Option<NonNull<c_void>>,
} }
impl Kind for Wasm {}
impl Wasm { impl Wasm {
/// Create new `Wasm` from given parts. /// Create new `Wasm` from given parts.
pub unsafe fn from_raw_parts( pub unsafe fn from_raw_parts(
@ -70,7 +72,6 @@ impl Wasm {
/// by the host. /// by the host.
pub struct Host(()); pub struct Host(());
impl Kind for Wasm {}
impl Kind for Host {} impl Kind for Host {}
/// Represents a list of WebAssembly values. /// Represents a list of WebAssembly values.