doc(api) Add missing documentation for from_export.

This commit is contained in:
Ivan Enderlin
2020-07-16 13:31:02 +02:00
parent a71244ba65
commit e52d476b54

View File

@@ -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)),