Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
jeparlefrancais committed Jan 28, 2025
1 parent 895506b commit c4c3545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nodes/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ impl Block {

pub fn remove_statement(&mut self, index: usize) {
let statements_len = self.statements.len();
if index < statements_len {
if index < statements_len {
self.statements.remove(index);

if let Some(tokens) = &mut self.tokens {
Expand Down

0 comments on commit c4c3545

Please sign in to comment.