Skip to content

Commit

Permalink
Made clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
rozbb committed Jul 30, 2023
1 parent b06ae94 commit ed53307
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions curve25519-dalek-derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ pub fn unsafe_target_feature_specialize(
let features: Vec<_> = attributes
.lit()
.value()
.split(",")
.map(|feature| feature.replace(" ", ""))
.split(',')
.map(|feature| feature.replace(' ', ""))
.collect();
let name = format!("{}_{}", item_mod.ident, features.join("_"));
let ident = syn::Ident::new(&name, item_mod.ident.span());
Expand Down

0 comments on commit ed53307

Please sign in to comment.