Check docs and run clippy on PRs (#326)

* Check docs, clippy, test run

* test parallel CI adapted from other package; is it faster?

* Remember to download substrate

* Nightly for cargo fmt

* Standardise CI names

* fix clippy complaints

* Ensure docs are valid and export publicly accessible types

* all-targets clippy, and fix additional lint errors

* newline in ci file
This commit is contained in:
James Wilson
2021-11-19 10:36:38 +00:00
committed by GitHub
parent dcb78a2784
commit 97f4112e92
16 changed files with 190 additions and 79 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ async fn test_iter() {
.await
.unwrap();
let mut i = 0;
while let Some(_) = iter.next().await.unwrap() {
while iter.next().await.unwrap().is_some() {
i += 1;
}
assert_eq!(i, 13);