Skip to content

Commit

Permalink
fix unused value warning
Browse files Browse the repository at this point in the history
  • Loading branch information
cvhammond committed Apr 8, 2024
1 parent b944bc7 commit 7950807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parameters.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ impl Parameters {
let mut bytes = Vec::new();
let mut group_names_to_ids = HashMap::new();
let mut group_id = 1;
for (i, (group, (group_description, parameters))) in self.parameters.iter().enumerate() {
for (group, (group_description, _parameters)) in self.parameters.iter() {
if group.len() > 127 {
return Err(C3dWriteError::GroupNameTooLong(group.clone()));
}
Expand Down

0 comments on commit 7950807

Please sign in to comment.