mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-10 23:57:23 +00:00
Clippyfy (#6341)
* 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:
@@ -686,7 +686,7 @@ where
|
||||
subsystem_meters
|
||||
.iter()
|
||||
.cloned()
|
||||
.filter_map(|x| x)
|
||||
.flatten()
|
||||
.map(|(name, ref meters)| (name, meters.read())),
|
||||
);
|
||||
|
||||
@@ -861,7 +861,7 @@ where
|
||||
let mut span = jaeger::Span::new(*hash, "leaf-activated");
|
||||
|
||||
if let Some(parent_span) = parent_hash.and_then(|h| self.span_per_active_leaf.get(&h)) {
|
||||
span.add_follows_from(&*parent_span);
|
||||
span.add_follows_from(parent_span);
|
||||
}
|
||||
|
||||
let span = Arc::new(span);
|
||||
|
||||
Reference in New Issue
Block a user