Make DefaultByte implement Send + Sync (#3333)

* Make `DefaultByte` implement `Send + Sync`

* Update runtime version.
This commit is contained in:
Bastian Köcher
2019-08-08 00:10:36 +02:00
committed by David Craven
parent 46709e8381
commit ea58b7c92a
4 changed files with 16 additions and 2 deletions
@@ -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