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

tour: Functions section little mistake #66

Closed
rschio opened this issue Sep 24, 2023 · 2 comments · May be fixed by #73
Closed

tour: Functions section little mistake #66

rschio opened this issue Sep 24, 2023 · 2 comments · May be fixed by #73

Comments

@rschio
Copy link
Contributor

rschio commented Sep 24, 2023

Functions can return zero or one value (or none, in which case you can omit the
return type). The `return` statement is used to specify the value to be returned.
In the example above, `add` returns an integer.

I think this should be:
"Functions can return one or more values (or none, in which case you can omit the
return type)..."

@ardan-bkennedy
Copy link
Contributor

Yea, I agree that language is off. Can you give me a PR for this fix against main.

@rschio
Copy link
Contributor Author

rschio commented Sep 25, 2023

Sure!

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 a pull request may close this issue.

2 participants