Check if named type requires a lifetime and conform if does

This commit is contained in:
Jakub Konka
2020-07-21 20:35:14 +02:00
committed by Pat Hickey
parent e500be829b
commit 5d8271286a
2 changed files with 12 additions and 1 deletions

View File

@@ -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)]