-
Notifications
You must be signed in to change notification settings - Fork 519
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
Streamline introduction.md of luscious-lasagna #1691
base: main
Are you sure you want to change the base?
Conversation
Many topics that were covered previously are not relevant to the actual tasks, they should be covered in a separate exercise.
Hello. Thanks for opening a PR on Exercism. We are currently in a phase of our journey where we have paused community contributions to allow us to take a breather and redesign our community model. You can learn more in this blog post. As such, all issues and PRs in this repository are being automatically closed. That doesn't mean we're not interested in your ideas, or that if you're stuck on something we don't want to help. The best place to discuss things is with our community on the Exercism Community Forum. You can use this link to copy this into a new topic there. Note: If this PR has been pre-approved, please link back to this PR on the forum thread and a maintainer or staff member will reopen it. |
// can't use `b` anymore because it is out of scope | ||
// dbg!(b); | ||
The return type is specified after an arrow `->`. | ||
It is optional if the function doesn't return anything. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One might wonder: if the function does not return anything, how could one give its (presumably nonexistent) return type?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. I decided to change the wording so it seems like that's not possible. No need to confuse students with the empty tuple at this point.
|
||
Rust items are often organized in modules. Each crate is implicitly a module, but it can define inner sub-modules of arbitrary depth. A module groups related functionality and is defined using the `mod` keyword. | ||
Invoking a function is done by specifying its name followed by parentheses. | ||
If the function requires parameters, they must be specified within the parentheses. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the function requires parameters, they must be specified within the parentheses. | |
If the function requires arguments, they must be specified within the parentheses. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thx!
The team effort to get the syllabus in a good shape again died down. I'm keeping this open in case it is useful at some point, but I think future work on the syllabus should not hesitate to close this and do something new from scratch. |
Many topics that were covered previously are not relevant to the actual tasks, they should be covered in a separate exercise.
This was discussed here.