Skip to content

Commit

Permalink
chore: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Jun 7, 2024
1 parent 94bb836 commit 6e04e2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tooling/nargo_fmt/src/visitor/expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ impl FmtVisitor<'_> {

pub(crate) fn visit_block(&mut self, block: BlockExpression, block_span: Span) {
if block.is_unsafe {
// We currently do not format unsafe blocks.
self.push_str(self.slice(block_span));
return
}
Expand Down

0 comments on commit 6e04e2d

Please sign in to comment.