Contracts call extract_from_slice in macro (#3566)

This commit is contained in:
PG Herveou authored and GitHub committed 2024-03-05 09:47:42 +00:00
1 parent c34ad77d05
commit 0eda0b3f17
1 file changed
+1
@@ -301,6 +301,7 @@ macro_rules! impl_wrapper_for {
unsafe {
$( $mod )::*::$name(output.as_mut_ptr(), &mut output_len);
}
extract_from_slice(output, output_len as usize)
}
}
};