Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Salka1988 committed Oct 9, 2023
1 parent 6efb18f commit bb0727d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/fuels-test-helpers/src/node_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,7 @@ impl<'de> DeserializeAs<'de, Word> for HexNumber {
}
len if len < WORD_SIZE => {
// pad if length < word size
bytes = (0..WORD_SIZE - len)
.map(|_| 0u8)
.chain(bytes)
.collect();
bytes = (0..WORD_SIZE - len).map(|_| 0u8).chain(bytes).collect();
}
_ => {}
}
Expand Down

0 comments on commit bb0727d

Please sign in to comment.