We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea756cb commit 4f7b547Copy full SHA for 4f7b547
2 files changed
rusty_linter/src/converter/common/program_rules.rs
@@ -13,7 +13,7 @@ impl Convertible for Program {
13
let mut global_statements: Self = vec![];
14
for Positioned { element, pos } in self {
15
let expanded_statements_for_element = element.convert_in(ctx, pos)?;
16
- global_statements.extend(expanded_statements_for_element.into_iter());
+ global_statements.extend(expanded_statements_for_element);
17
}
18
19
// collect implicitly defined variables
rusty_variant/src/bits.rs
@@ -121,7 +121,7 @@ fn f64_to_bits_for_normalized_value(
121
// insert the significant bits
122
for bit in int_bits
123
.into_iter()
124
- .chain(fraction_bits.into_iter())
+ .chain(fraction_bits)
125
.take(DOUBLE_SIGNIFICANT_BITS)
126
{
127
bits.push(bit);
0 commit comments