It's not because you know how to use the keyword use
that you know what you should import with it. It's not always trivial to know which modules you should import for your code to work, even for people who are comfortable with programming in other languages.
When you learn a new language you have to familiarize yourself with so many new things (keywords, concepts, std, best practices, ...) some people integrate it faster than others, but as a new language we should strive to make it as easy as possible for everyone to adopt rust.
Beginners are not going to read the whole book before they start experimenting, that is even more true for people who already have a programming background. The urge of writing something that works as fast as possible is very real
And I think it's a good learning method. You can't expect people to first read through 250 pages of syntax and concepts before they start to experiment...
People should not have to integrate every concept of rust before being able to use the language. For comparison, when you learn C, you don't have to learn how to use pointers right away. You can perfectly write simple programs without it. Of course, somewhere along the way the need for that specific feature will increase and you will eventually learn it. Making you wonder how you lived without it afterwards.
But being able to learn parts of the language at your own pace makes the learning curve less steep, which is, in my opinion, important for Rust because it tries to target a really broad audience.
To come back to the presence of use
in the docs, I think it should be present!
Learning through repetition (experience) is the most important form of learning in the programming world. Having one more repetition of use
(or any other concept for that matter) in the docs isn't going to kill anyone, on the contrary it makes beginners learn quicker.
Experienced users lose a little convenience because of the "noise" but beginners lose sometimes hours just because they didn't think about some import. Not because they didn't know how..., but just because there is so much else that could go wrong for them, they forget it could be as simple as an import error...
(I know I'm exaggerating
but still..)
I am however in favor of collapsed examples and info blocks (when clearly indicated) to make it easier to quickly find the section that you need and expand just that.