Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Feb 26, 2025
1 parent c994b23 commit 264abf0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/rules/semi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,11 @@ impl Handler for SemiHandler {
}
}

fn continue_stmt(&mut self, stmt: &ast_view::ContinueStmt, ctx: &mut Context) {
fn continue_stmt(
&mut self,
stmt: &ast_view::ContinueStmt,
ctx: &mut Context,
) {
let text = stmt.range().text_fast(ctx.text_info());
let has_semi = text.trim_end().ends_with(';');

Expand Down

0 comments on commit 264abf0

Please sign in to comment.