Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
leudz committed Jul 11, 2024
1 parent b964a65 commit a4ccafb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shipyard_proc/src/into_iter_expand.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ pub(crate) fn expand_into_iter(

let item_name = Ident::new(&iter_item_name, name_string.span());
let iter_name = Ident::new(&format!("{}Iter", name_string), name_string.span());
#[cfg_attr(not(feature = "parallel"), allow(unused_variables))]
let par_iter_name = Ident::new(&format!("{}ParIter", name_string), name_string.span());

let Some(lifetime) = generics.lifetimes_mut().next() else {
Expand Down

0 comments on commit a4ccafb

Please sign in to comment.