Skip to content

Commit af9f7ea

Browse files
committed
Fix last of needless refs in loops
Signed-off-by: Jacinta Ferrant <[email protected]>
1 parent cd77f5c commit af9f7ea

File tree

2 files changed

+3
-5
lines changed
  • clarity/src/vm/ast/parser/v2
  • stackslib/src/chainstate/stacks/db

2 files changed

+3
-5
lines changed

clarity/src/vm/ast/parser/v2/mod.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1121,9 +1121,7 @@ mod tests {
11211121
use super::*;
11221122
use crate::vm::diagnostic::Level;
11231123
use crate::vm::representations::PreSymbolicExpressionType;
1124-
use crate::vm::types::{
1125-
ASCIIData, CharType, PrincipalData, SequenceData, StandardPrincipalData, UTF8Data,
1126-
};
1124+
use crate::vm::types::{ASCIIData, CharType, PrincipalData, SequenceData};
11271125

11281126
#[test]
11291127
fn test_parse_int() {

stackslib/src/chainstate/stacks/db/blocks.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9570,12 +9570,12 @@ pub mod test {
95709570
store_staging_block(
95719571
&mut chainstate,
95729572
&consensus_hashes[i],
9573-
&block,
9573+
block,
95749574
&parent_consensus_hashes[i],
95759575
1,
95769576
2,
95779577
);
9578-
assert_block_staging_not_processed(&mut chainstate, &consensus_hashes[i], &block);
9578+
assert_block_staging_not_processed(&mut chainstate, &consensus_hashes[i], block);
95799579
}
95809580

95819581
// reject block 1

0 commit comments

Comments
 (0)