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

Update ch5-06.md #213

Merged
merged 1 commit into from
Feb 5, 2024
Merged

Update ch5-06.md #213

merged 1 commit into from
Feb 5, 2024

Conversation

A-caibird
Copy link
Contributor

返回的是一个函数,而不是返回的这个函数被调用后的返回值

提示:解决了什么问题,也可以讲下理由。

返回的是一个函数,而不是返回的这个函数被调用后的返回值
@chai2010 chai2010 merged commit feac38b into gopl-zh:master Feb 5, 2024
@MzoroHaHa
Copy link

这里修改之前是对的,修改之后就不对了。注释中的说明也是对的,注释中说的是squares函数返回的匿名函数,调用后会返回一个数字。

修改之后编译不能通过了 @A-caibird

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