Commit d8a7e98e authored by Andrew Jones's avatar Andrew Jones

Make clippy happy

parent a6668b7b
Pipeline #99117 passed with stages
in 5 minutes and 20 seconds
......@@ -214,11 +214,12 @@ where
/// Update the [ChainSpec](`crate::env::engine::off_chain::db::ChainSpec`) for the test environment
pub fn update_chain_spec<F>(f: F) -> Result<()>
where
F: FnOnce(&mut ChainSpec) -> ()
F: FnOnce(&mut ChainSpec)
{
Ok(<EnvInstance as OnInstance>::on_instance(|instance| {
<EnvInstance as OnInstance>::on_instance(|instance| {
f(instance.chain_spec_mut())
}))
});
Ok(())
}
/// Returns the contents of the past performed environmental `println` in order.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment