* Add clippy config and remove .cargo from gitignore

* first fixes

* Clippyfied

* Add clippy CI job

* comment out rusty-cachier

* minor

* fix ci

* remove DAG from check-dependent-project

* add DAG to clippy

Co-authored-by: alvicsam <alvicsam@gmail.com>
This commit is contained in:
alexgparityandalvicsam authored and GitHub committed 2022-11-30 08:34:06 +00:00
1 parent b76086c617
commit 9ea14e66c8
67 files changed
+338 -351

No files matched your search

@@ -94,7 +94,7 @@ impl SessionGridTopology {
let n = &self.canonical_shuffling[r_n];
grid_subset.validator_indices_x.insert(n.validator_index);
for p in &n.peer_ids {
grid_subset.peers_x.insert(p.clone());
grid_subset.peers_x.insert(*p);
}
}
@@ -102,7 +102,7 @@ impl SessionGridTopology {
let n = &self.canonical_shuffling[c_n];
grid_subset.validator_indices_y.insert(n.validator_index);
for p in &n.peer_ids {
grid_subset.peers_y.insert(p.clone());
grid_subset.peers_y.insert(*p);
}
}
+1 -1
View File
@@ -207,7 +207,7 @@ impl View {
}
/// Obtain an iterator over all heads.
pub fn iter<'a>(&'a self) -> impl Iterator<Item = &'a Hash> {
pub fn iter(&self) -> impl Iterator<Item = &Hash> {
self.heads.iter()
}