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
I noticed the following when running forc fmt over the test suite:
struct A { a: u64, b: u64, } fn get_gas() -> A { A { a: asm() { ggas }, b: asm() { cgas } } }
is formatted to:
struct A { a: u64, b: u64, } fn get_gas() -> A { A { a: asm() { , ggas } b: asm() { , cgas } } }
and the following:
enum B { /// A docstring A: u64, /// B docstring B: u64, } struct C { /// a docstring a: A, /// b docstring b: byte, }
The text was updated successfully, but these errors were encountered:
cc @leviathanbeak
Sorry, something went wrong.
thanks @otrho for reporting
leviathanbeak
Successfully merging a pull request may close this issue.
I noticed the following when running
forc fmt
over the test suite:is formatted to:
and the following:
is formatted to:
The text was updated successfully, but these errors were encountered: