Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: tightly pack doc comments #6624

Merged
merged 2 commits into from
Dec 20, 2023

Conversation

mattsse
Copy link
Member

@mattsse mattsse commented Dec 20, 2023

fixes a formatting bug where forge fmt would format with an additional new line before the function body

    /**
     * @dev See {IERC721-balanceOf}.
     */

    function test_Increment() public {
        counter.increment();
        assertEq(counter.number(), 1);
    }

@mattsse mattsse merged commit aaf1273 into foundry-rs:master Dec 20, 2023
19 checks passed
@mattsse mattsse deleted the matt/fix-doc-comment-new-line branch December 20, 2023 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants