Closed
Description
The Box<Vec<T>>
warning appears to be being triggered when I box a closure (necessary in this case to make the struct Sized
).
src/native_types.rs:93:13: 93:65 note: Vec<T> is already on the heap, Box<Vec<T>> makes an extra allocation
src/native_types.rs:93 pub run : Box<Fn(Vec<HValue>) -> Vec<HValue> + 'static + Send>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Metadata
Metadata
Assignees
Labels
No labels