Skip to content
New issue

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

Formatter adding slash #271

Closed
quonic opened this issue Nov 14, 2023 · 1 comment
Closed

Formatter adding slash #271

quonic opened this issue Nov 14, 2023 · 1 comment

Comments

@quonic
Copy link

quonic commented Nov 14, 2023

Formatting seems to be adding slash that isn't needed.

Before formatting:

return {
	u8(rand.int31_max(255, &my_rand)),
	u8(rand.int31_max(255, &my_rand)),
	u8(rand.int31_max(255, &my_rand)),
	255,
}

After Formatting:

return(
	{
		u8(rand.int31_max(255, &my_rand)),
		u8(rand.int31_max(255, &my_rand)),
		u8(rand.int31_max(255, &my_rand)),
		255,
	} \
)

Edit After Formatting and Formatter is happy with:

return(
	{
		u8(rand.int31_max(255, &my_rand)),
		u8(rand.int31_max(255, &my_rand)),
		u8(rand.int31_max(255, &my_rand)),
		255,
	}
)
@DanielGavin
Copy link
Owner

Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants