Fix Clippy (#10596)

* fix clippy

* fmt
This commit is contained in:
Shawn Tabrizi authored and GitHub committed 2022-01-05 23:08:36 +00:00
1 parent c1865988df
commit 6b36411f22
2 files changed
+2 -4

No files matched your search

@@ -229,7 +229,7 @@ impl<G, E> ChainSpec<G, E> {
/// Optional network fork identifier.
pub fn fork_id(&self) -> Option<&str> {
self.client_spec.fork_id.as_ref().map(String::as_str)
self.client_spec.fork_id.as_deref()
}
/// Additional loosly-typed properties of the chain.