Deny missing documentation in wasmtime crate (#836)

* Deny missing documentation in `wasmtime` crate

Everything is largely documented now, so let's be sure to keep it that
way!

* Add windows docs
This commit is contained in:
Alex Crichton
2020-01-17 12:36:57 -06:00
committed by GitHub
parent 0bee67a852
commit 448faed5ca
6 changed files with 46 additions and 14 deletions

View File

@@ -218,6 +218,7 @@ impl Module {
validate(binary, Some(config)).map_err(Error::new)
}
#[doc(hidden)]
pub fn from_exports(store: &Store, exports: Box<[ExportType]>) -> Self {
let mut ret = Module::empty(store);
Rc::get_mut(&mut ret.inner).unwrap().exports = exports;