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

@@ -1069,6 +1069,12 @@ fn store_functions_to_metadata (
}
}
unsafe impl<#traitinstance: #traittype, #instance #bound_instantiable> Send
for #struct_name<#traitinstance, #instance> #where_clause {}
unsafe impl<#traitinstance: #traittype, #instance #bound_instantiable> Sync
for #struct_name<#traitinstance, #instance> #where_clause {}
#[cfg(not(feature = "std"))]
impl<#traitinstance: #traittype, #instance #bound_instantiable> #scrate::metadata::DefaultByte
for #struct_name<#traitinstance, #instance> #where_clause