Make DefaultByte implement Send + Sync (#3333)

* Make `DefaultByte` implement `Send + Sync`

* Update runtime version.
This commit is contained in:
Bastian Köcher authored and David Craven committed 2019-08-08 00:10:36 +02:00
1 parent 46709e8381
commit ea58b7c92a
4 files changed
+16 -2

No files matched your search

+1 -1
View File
@@ -210,7 +210,7 @@ pub struct ModuleConstantMetadata {
}
/// A technical trait to store lazy initiated vec value as static dyn pointer.
pub trait DefaultByte {
pub trait DefaultByte: Send + Sync {
fn default_byte(&self) -> Vec<u8>;
}