Use Pin<Box<>> for collation future (#1792)

This commit is contained in:
Bastian Köcher authored and GitHub committed 2020-10-07 11:29:00 +00:00
1 parent 7f4646505a
commit 2b798f8571
4 files changed
+5 -4

No files matched your search

@@ -407,7 +407,7 @@ mod tests {
Arc::new(CollationGenerationConfig {
key: CollatorPair::generate().0,
collator: Box::new(|_: Hash, _vd: &ValidationData| {
Box::new(TestCollator)
TestCollator.boxed()
}),
para_id: para_id.into(),
})