Fix #1536: do not require to construct a block for encoding it (#3813)

* Fix #1536: do not require to construct a block for encoding it

* Bump `impl_version`

* Improve `Block::encode_from` signature and rustdoc (from review by @bkchr)
This commit is contained in:
Fabio Tudone authored and Bastian Köcher committed 2019-10-16 10:02:12 +02:00
1 parent 6a2afdb204
commit 8ef20a5534
5 files changed
+13 -5

No files matched your search

+1 -1
View File
@@ -85,7 +85,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// implementation changes and behavior does not, then leave spec_version as
// is and increment impl_version.
spec_version: 175,
impl_version: 175,
impl_version: 176,
apis: RUNTIME_API_VERSIONS,
};