all: address clippy lints
This commit is contained in:
parent
e5fd0fa192
commit
9e67158f47
29 changed files with 31 additions and 68 deletions
|
|
@ -14,7 +14,7 @@ use {
|
|||
state::State,
|
||||
tree::{ToplevelData, ToplevelNodeBase},
|
||||
},
|
||||
std::rc::Rc,
|
||||
std::{rc::Rc, slice},
|
||||
};
|
||||
|
||||
pub struct TlmMatchClient {
|
||||
|
|
@ -32,7 +32,7 @@ impl TlmMatchClient {
|
|||
id,
|
||||
state: state.clone(),
|
||||
node: node.clone(),
|
||||
upstream: CritDownstreamData::new(id, &[node.clone()]),
|
||||
upstream: CritDownstreamData::new(id, slice::from_ref(node)),
|
||||
downstream: CritUpstreamData::new(slf, id),
|
||||
});
|
||||
slf.upstream.attach(&slf);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue