Skip to content
Snippets Groups Projects
Unverified Commit 29006e57 authored by Serban Iorga's avatar Serban Iorga
Browse files

Fix clippy warning

parent b8c9e5c4
No related merge requests found
......@@ -62,7 +62,7 @@ impl TypeSubstitute {
fn simple(subxt_type: &str) -> Self {
Self {
subxt_type: syn::parse_str::<syn::Path>(subxt_type).unwrap(),
substitute: syn::parse_str::<syn::Path>(&format!("::{}", subxt_type)).unwrap(),
substitute: syn::parse_str::<syn::Path>(&format!("::{subxt_type}")).unwrap(),
}
}
......
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