mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-06 12:48:20 +00:00
doc(api) Add missing documentation for from_export.
This commit is contained in:
1
lib/api/src/externals/mod.rs
vendored
1
lib/api/src/externals/mod.rs
vendored
@@ -42,6 +42,7 @@ impl Extern {
|
||||
}
|
||||
}
|
||||
|
||||
/// Create an `Extern` from an `Export`.
|
||||
pub fn from_export(store: &Store, export: Export) -> Extern {
|
||||
match export {
|
||||
Export::Function(f) => Extern::Function(Function::from_export(store, f)),
|
||||
|
||||
Reference in New Issue
Block a user