The Rust Programming Language Forum
Scope for "use"?
lwojtow
December 21, 2019, 10:27am
3
Thanks,
So two follow-up questions:
Why doesn't the same rule apply to other 'use' ?
Why do I need 'use rayon...' in both places: top of the file and method?
Thank you.
show post in topic
Related topics
Topic
Replies
Views
Activity
[solved] Iterating a normal iterator with rayon
help
2
1012
January 12, 2023
Scoping rules for modules
2
846
January 12, 2023
Dynamically using (or not using) rayon
help
11
3569
January 12, 2023
Rayon parallel sum from range
help
3
4947
January 12, 2023
What is diff in this two case using `use`?
help
2
1233
January 12, 2023