Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Move argument requirements for Do and DoAndReturn out of example code and into function commentary #572

Merged
merged 1 commit into from Jun 12, 2021
Merged

Move argument requirements for Do and DoAndReturn out of example code and into function commentary #572

merged 1 commit into from Jun 12, 2021

Conversation

bconway
Copy link
Contributor

@bconway bconway commented Jun 12, 2021

Regardless of the result of #558, this is not a new requirement (I believe), and the location of it in the example code was easy to miss.

The Do version excludes a reference to the output argument count, as the returns are ignored.

… and into function commentary

Regardless of the result of #558, this is not a new requirement (I believe), and the location of it in the example code was easy to miss.

The `Do` version excludes a reference to the output argument count, as the returns are ignored.
@bconway bconway requested a review from codyoss as a code owner June 12, 2021 00:46
Copy link
Member

@codyoss codyoss left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution!

@codyoss codyoss merged commit b96f175 into golang:master Jun 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants