Fix tons of warnings in newest nightly (#2784)

* Fix tons of warnings in newest nightly

* Fix sr-api-macro doc tests
This commit is contained in:
Bastian Köcher authored and GitHub committed 2019-06-04 20:09:49 +02:00
1 parent 9700029203
commit 6142f95611
73 files changed
+359 -316

No files matched your search

-1
View File
@@ -150,7 +150,6 @@ impl ProvideInherentData for InherentDataProvider {
}
fn error_to_string(&self, error: &[u8]) -> Option<String> {
use parity_codec::Decode;
RuntimeString::decode(&mut &error[..]).map(Into::into)
}
}