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

strconv: fix e/g format #22430

Merged
merged 2 commits into from
Oct 7, 2024
Merged

Conversation

kbkpbot
Copy link
Contributor

@kbkpbot kbkpbot commented Oct 7, 2024

This PR fix issue #22424

Comment on lines -78 to +87
if i_n_digit == 0 {
unsafe {
buf[i] = 0
return tos(&u8(&buf[0]), i)
}
}
// if i_n_digit == 0 {
// unsafe {
// buf[i] = 0
// return tos(&u8(&buf[0]), i)
// }
//}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Imho just delete sections of dead code, instead of commenting them.

Copy link
Member

@spytheman spytheman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work.

@spytheman spytheman merged commit 309c8d3 into vlang:master Oct 7, 2024
78 checks passed
@penguindark
Copy link
Member

good job! 👍

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

Successfully merging this pull request may close these issues.

3 participants