Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
Fix doclink
Browse files Browse the repository at this point in the history
  • Loading branch information
Micha Reiser committed Aug 18, 2022
1 parent 509904b commit e896925
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ impl NeedsParentheses for JsAssignmentExpression {
JsSyntaxKind::JS_COMPUTED_MEMBER_NAME => false,

JsSyntaxKind::JS_ARROW_FUNCTION_EXPRESSION => {
is_arrow_function_body(self.syntax(), &parent)
is_arrow_function_body(self.syntax(), parent)
}
JsSyntaxKind::JS_FOR_STATEMENT => {
let for_statement = JsForStatement::unwrap_cast(parent.clone());
Expand Down
2 changes: 1 addition & 1 deletion crates/rome_js_formatter/src/utils/member_chain/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
///! `something()()().then()`;
///! 2. as many as [rome_js_syntax::JsComputedMemberExpression] we can find, this cover cases like
///! `something()()[1][3].then()`;
///! 3. as many as consecutive [rome_js_syntax::JsStaticMemberExpression] or [rome_js_syntax::JsComputedExpression], this cover cases like
///! 3. as many as consecutive [rome_js_syntax::JsStaticMemberExpression] or [rome_js_syntax::JsComputedMemberExpression], this cover cases like
///! `this.items[0].then()`
///!
///! The rest of the groups are essentially a sequence of `[StaticMemberExpression , CallExpression]`.
Expand Down

0 comments on commit e896925

Please sign in to comment.