You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Description
## Problem\*
Resolves
https://github.com/noir-lang/noir/compare/master...Andy53:noir:fmt_remvoes_curly_braces_when_there_is_a_single_import?expand=1Closes#4480
## Summary\*
Removes curly braces from imports when there is only a single import.
`use dep::std::hash::{sha256};`
becomes:
`use dep::std::hash::sha256;
## Additional Context
## Documentation\*
Check one:
- [ X] No documentation needed.
- [ ] Documentation included in this PR.
- [ ] **[Exceptional Case]** Documentation to be submitted in a separate
PR.
# PR Checklist\*
- [ X] I have tested the changes locally.
- [ ] I have formatted the changes with [Prettier](https://prettier.io/)
and/or `cargo fmt` on default settings.
---------
Co-authored-by: jfecher <[email protected]>
The formatter should take imports of the form
and format it as
whereas currently we are preserving the curly braces.
The text was updated successfully, but these errors were encountered: