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

Clarified the misunderstanding b/w crates, module, items #4232

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

anu-sin-theta
Copy link

Hi Cool guys I'm a newbie in this Rusty world I just got confused for a moment when I was on chapter2, to clarify my doubt I went on to Rust Forum and learned a lot of gem things here is the reference

The issue is while in std::io::stdin:
std is the standard library in Rust.
io is a module within the std library.
Screenshot at 2025-02-18 22-30-44

stdin is a function within the io module, but the book said "io library" it does confused too much as a newbie the user won't impose his thoughts for a moment he/she will rather trust the BOOK that ::io is indeed a library (with confusion in his mind). so it needs to be fixed.

The issue is while in std::io::stdin:  
std is the standard library in Rust.
io is a module within the std library.
stdin is a function within the io module, but the book said "io library" it does confused too much as a newbie the user won't impose his thoughts for a moment he/she will rather trust the BOOK that ::io is indeed a library (with confusion in his mind). so it needs to be fixed.
@anu-sin-theta anu-sin-theta changed the title Crarified the misunderstanding b/w crates, module, items Clarified the misunderstanding b/w crates, module, items Feb 19, 2025
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.

1 participant