Skip to content

Commit

Permalink
update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ah-yu committed Jan 12, 2024
1 parent 273874e commit 349bee1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/biome_js_formatter/src/comments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1256,7 +1256,8 @@ fn handle_import_export_specifier_comment(
}
}

/// Ensure that comments before the `async`` keyword are placed just before it.
/// Attach comments before the `async` keyword or `*` token to the preceding node if it exists
/// to ensure these comments are placed before the `async` keyword or `*` token.
/// ```javascript
/// class Foo {
/// @decorator()
Expand Down

0 comments on commit 349bee1

Please sign in to comment.