Skip to content

Update comment in example code #2500

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

Merged
merged 2 commits into from
Sep 20, 2022
Merged

Update comment in example code #2500

merged 2 commits into from
Sep 20, 2022

Conversation

mattzhou-db
Copy link
Contributor

@mattzhou-db mattzhou-db commented Aug 18, 2022

Help clarify that x is set to 1, and y is set to default value. This comment is more explicit in what x and y are set to.

The reason why I proposed this change was it's easy to misread, especially as x and y look visually similar on smaller screens.

Help clarify that x is set to 1, and y is set to default value. This comment is more explicit in what x and y are set to.
Copy link
Contributor

@julienrf julienrf left a comment

Choose a reason for hiding this comment

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

Thank you, I like your idea, but could you please also update the Scala 3 code snippet? (line 114)

Update Scala 3 code snippet to include more descriptive comment.
@mattzhou-db
Copy link
Contributor Author

Scala 3 code snippet?

Done, sorry for the delay on this.

@mattzhou-db mattzhou-db reopened this Sep 19, 2022
@bishabosha bishabosha merged commit c411d4a into scala:main Sep 20, 2022
@mattzhou-db mattzhou-db deleted the patch-1 branch September 20, 2022 20:17
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