sway icon indicating copy to clipboard operation
sway copied to clipboard

`std` and incorrect sway fmt for curly braces

Open Braqzen opened this issue 1 year ago • 1 comments
trafficstars

It appears that either CI does not check formatting properly or the formatter has a minor bug as seen

https://github.com/FuelLabs/sway/blob/5d712a083b7f564a777969356a8118696c91e2c5/sway-lib-std/src/storage/storage_map.sw#L56-L59

Braqzen avatar Jan 14 '24 10:01 Braqzen

Formatter has a bug where the indentation is not matched after where when opening brace needs a new-line. Raised a PR

sudhackar avatar Feb 08 '24 10:02 sudhackar