Tidy up a redundant field name.

This commit is contained in:
Dan Gohman
2019-02-22 15:17:38 -08:00
parent d7dc36e752
commit 601057ec42

View File

@@ -755,7 +755,7 @@ impl InstanceHandle {
// invoked automatically at instantiation time. // invoked automatically at instantiation time.
instance.invoke_start_function()?; instance.invoke_start_function()?;
Ok(Self { instance: instance }) Ok(Self { instance })
} }
/// Create a new `InstanceHandle` pointing at the instance /// Create a new `InstanceHandle` pointing at the instance