We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
forc-fmt
library; enum LibraryError { QuiteLongLibraryErrorCase: (u64, u64, bool), } fn test_formatter() { let vec = Vec::new(); require(vec.len() > 0, LibraryError::QuiteLongLibraryErrorCase((120000, 150000, true))); }
is formatted to
library; enum LibraryError { QuiteLongLibraryErrorCase: (u64, u64, bool), } fn test_formatter() { let vec = Vec::new(); require( vec .len() > 0, LibraryError::QuiteLongLibraryErrorCase((120000, 150000, true)), ); }
but should be to
library; enum LibraryError { QuiteLongLibraryErrorCase: (u64, u64, bool), } fn test_formatter() { let vec = Vec::new(); require( vec.len() > 0, LibraryError::QuiteLongLibraryErrorCase((120000, 150000, true)), ); }
Use the code as above
No response
➜ test_contract git:(issues) ✗ forc fmt --version forc-fmt 0.65.2
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Related Component
forc-fmt
Problem
is formatted to
but should be to
Steps
Use the code as above
Possible Solution(s)
No response
Notes
No response
Installed components
The text was updated successfully, but these errors were encountered: