Describe the bug
A clear and concise description of what the bug is.
Given that "error make" is a multi-word function:
error make {msg: "hello"}
Steps To Reproduce
Steps to reproduce the behavior:
- Make a file as above, format it using nufmt
Expected behavior
Expect to remove the one extra space in "error make".
Environment
- nufmt commit: latest main at d7e75a5
Please run rustc --version and paste the result.
[user@system:~]$ rustc --version
rustc 1.94.0 (4a4ef493e 2026-03-02)
Notify maintainers
Describe the bug
A clear and concise description of what the bug is.
Given that "error make" is a multi-word function:
error make {msg: "hello"}Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expect to remove the one extra space in "error make".
Environment
Please run
rustc --versionand paste the result.Notify maintainers