Skip to content

Commit

Permalink
Fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
serban300 committed Feb 3, 2023
1 parent 857624b commit 6f5f766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/runtime-codegen/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
}
}

Expand Down

0 comments on commit 6f5f766

Please sign in to comment.