Closed Calinou closed 1 year ago
While I could add the {...}
I feel like it would make the code a bit too verbose. I think that if people use an autoformatter anyway, it's better to just remove the indentation in these particular cases.
Bump :slightly_smiling_face: What should we do about this PR?
I'd say the code should be left as is for now.
These lines weren't aligned with the rest of the code.
Edit: This actually appears to be intentional: https://github.com/Overv/VulkanTutorial/pull/175 I'd suggest wrapping it within a
{ ... }
block in this case, so that indentation is preserved by tools like clang-format (which I always use in my own projects :slightly_smiling_face:).