Improved lint

This commit is contained in:
Syrus
2019-12-20 20:45:10 -08:00
parent c4d70a6b75
commit 1a960a01ae
3 changed files with 10 additions and 52 deletions

View File

@ -146,11 +146,9 @@ impl Instance {
/// Load an `Instance` using the given loader.
pub fn load<T: Loader>(&self, loader: T) -> ::std::result::Result<T::Instance, T::Error> {
loader.load(
&**self.module.runnable_module,
&self.module.info,
unsafe { &*self.inner.vmctx },
)
loader.load(&**self.module.runnable_module, &self.module.info, unsafe {
&*self.inner.vmctx
})
}
/// Through generic magic and the awe-inspiring power of traits, we bring you...