Skip to content

Commit

Permalink
clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
indirection42 authored Jul 13, 2024
1 parent ff80530 commit d1a7451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xcq-types/derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ fn import_xcq_types() -> TokenStream2 {
match found_crate {
FoundCrate::Itself => quote! { crate },
FoundCrate::Name(name) => {
let crate_ = syn::Ident::new(&name.replace("-", "_"), proc_macro2::Span::call_site());
let crate_ = syn::Ident::new(&name.replace('-', '_'), proc_macro2::Span::call_site());
quote! { ::#crate_ }
}
}
Expand Down

0 comments on commit d1a7451

Please sign in to comment.