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

@@ -13,7 +13,9 @@ use crate::Instance;
/// Extensions for the [`Instance`] type only available on Windows.
pub trait InstanceExt {
// TODO: docs?
/// Configures a custom signal handler to execute.
///
/// TODO: needs more documentation.
unsafe fn set_signal_handler<H>(&self, handler: H)
where
H: 'static + Fn(winapi::um::winnt::EXCEPTION_POINTERS) -> bool;