change interfaces to use slices instead of Vec
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user