change interfaces to use slices instead of Vec

This commit is contained in:
Nathan Froyd
2020-03-05 10:07:01 -05:00
parent 0f49a830c9
commit 2bb3096342
6 changed files with 18 additions and 18 deletions

View File

@@ -354,7 +354,7 @@ where
pub struct ModuleCompiledFunction<'a> {
pub size: binemit::CodeOffset,
pub traps: Option<&'a Vec<TrapSite>>,
pub traps: &'a [TrapSite],
}
impl<B> Module<B>