We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d677fd6 commit 3c28438Copy full SHA for 3c28438
1 file changed
bindings/rust/src/lib.rs
@@ -519,6 +519,7 @@ impl Instance {
519
520
/// Get a non-owned module instance.
521
pub fn get_module(&self) -> &Module {
522
+ debug_assert!(!self.module.owned);
523
&self.module
524
}
525
0 commit comments