Clippy
This commit is contained in:
parent
0d41e8a833
commit
4eeb280f0d
21 changed files with 44 additions and 44 deletions
|
|
@ -100,7 +100,7 @@ impl<L: 'static, B: 'static, SR: 'static, Rs: Hash + Eq + 'static, As: 'static>
|
|||
);
|
||||
drop(resources);
|
||||
let result = future.await;
|
||||
result.map_err(|e| e.into())
|
||||
result.map_err(std::convert::Into::into)
|
||||
};
|
||||
result.map(|(t, did_run)| (t.into_artifact(), did_run))
|
||||
}
|
||||
|
|
@ -148,7 +148,7 @@ impl<
|
|||
let drain = recorder.clone();
|
||||
let log = Rc::new(slog::Logger::root(
|
||||
drain,
|
||||
o!("resource" => format!("{:?}", resource)),
|
||||
o!("resource" => format!("{resource:?}")),
|
||||
));
|
||||
|
||||
let result = self.1.add(&log, resource, force_run).await;
|
||||
|
|
@ -190,7 +190,7 @@ impl<
|
|||
let drain = recorder.clone();
|
||||
let log = Rc::new(slog::Logger::root(
|
||||
drain,
|
||||
o!("symbol" => format!("{:?}", symbol)),
|
||||
o!("symbol" => format!("{symbol:?}")),
|
||||
));
|
||||
|
||||
let result = (self.1).0.core.run_symbol(&symbol, &log, force).await;
|
||||
|
|
@ -332,6 +332,7 @@ mod test {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(clippy::type_complexity)]
|
||||
fn get_setup() -> (
|
||||
Rc<RefCell<usize>>,
|
||||
Setup<
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue