Check if named type requires a lifetime and conform if does
This commit is contained in:
@@ -52,6 +52,10 @@ impl<'a> structs::Structs for WasiCtx<'a> {
|
||||
second: *second,
|
||||
})
|
||||
}
|
||||
|
||||
fn sum_array<'b>(&self, an_arr: &types::StructOfArray<'b>) -> Result<u16, types::Errno> {
|
||||
Ok(0)
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
|
||||
Reference in New Issue
Block a user