Explicitly declare decl_storage! getters as functions (#3870)

* parse decl_storage getters with fn keyword

* test for get in decl_storage

* update all decl_storage! getters

* bump version

* adjust missed doc line
This commit is contained in:
Robert Habermeier authored and Bastian Köcher committed 2019-10-22 09:53:58 +02:00
1 parent 1111d79ac1
commit 5d5e71028e
36 files changed
+190 -175

No files matched your search

+2 -2
View File
@@ -84,8 +84,8 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// and set impl_version to equal spec_version. If only runtime
// implementation changes and behavior does not, then leave spec_version as
// is and increment impl_version.
spec_version: 180,
impl_version: 180,
spec_version: 181,
impl_version: 181,
apis: RUNTIME_API_VERSIONS,
};