Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/comments/handlers/handleContractDefinitionComments.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function handleContractDefinitionComments({

// In this scenario the comment belongs to the contract's name.
// contract A /* comment for A */ is B, C {}
// TODO: at the moment we prepended it but this should be kept after the name.
// TODO: at the moment we have prepended it but this should be kept after the name.
addLeadingComment(enclosingNode, comment);
return true;
}
Expand Down
2 changes: 1 addition & 1 deletion src/common/printer-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export function printPreservingEmptyLines(path, key, options, print) {
!childPath.isLast &&
isNextLineEmpty(options.originalText, options.locEnd(node) + 1)
) {
// Append an empty line if the original text already had an one after
// Append an empty line if the original text already had one after
// the current `node`
parts.push(hardline);
}
Expand Down