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 2018 for module changes #1535
Conversation
| and absolute paths. This way, when you move code around, the imports it needs | ||
| don't change. Up to you! | ||
|
|
||
| A breif note about idioms: |
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.
brief*
| use std::collections::*; | ||
| ``` | ||
|
|
||
| Be careful with this! This makes it a little harder to tell what names are in |
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.
Might be worth mentioning the "prelude" pattern here, since this is a common way to make glob imports useful.
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.
great call
2018-edition/src/SUMMARY.md
Outdated
| - [`mod` and the Filesystem](ch07-01-mod-and-the-filesystem.md) | ||
| - [Controlling Visibility with `pub`](ch07-02-controlling-visibility-with-pub.md) | ||
| - [Referring to Names in Different Modules](ch07-03-importing-names-with-use.md) | ||
| - [Pacakges, Crates, and Modules](ch07-00-packages-crates-and-modules.md) |
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.
Packages?
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.
Yup! Did you read the text?
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.
I haven't read all of the text but found one more instance of the misspelling.
:%s/Pacakges/Packages/g
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.
Ah, I just misunderstood you. Thanks so much!
|
Oh, I didn’t realize you were talking about spelling! So sorry! I thought you weren’t sure what a package is.
I’ll update this, thank you!
… On Sep 20, 2018, at 3:09 PM, Hari haran ***@***.***> wrote:
@hariharan-uno commented on this pull request.
In 2018-edition/src/SUMMARY.md:
> @@ -36,10 +36,9 @@
## Basic Rust Literacy
-- [Modules](ch07-00-modules.md)
- - [`mod` and the Filesystem](ch07-01-mod-and-the-filesystem.md)
- - [Controlling Visibility with `pub`](ch07-02-controlling-visibility-with-pub.md)
- - [Referring to Names in Different Modules](ch07-03-importing-names-with-use.md)
+- [Pacakges, Crates, and Modules](ch07-00-packages-crates-and-modules.md)
I haven't read all of the text but found one more instance of the misspelling.
:%s/Pacakges/Packages/g
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
6d9a4fe
to
68ac9b3
Compare
|
I'm going to merge this in for now; I'd like to do significant more work on it, but let's at least get the basics in. Carol, we'll review this more later :) |
Fixes #1280
Fixes #1509
r? @carols10cents
I feel like this is a bit rough.