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
1014
January 12, 2023
Use statements inside functions
help
9
3409
September 22, 2020
Dynamically using (or not using) rayon
help
11
3587
January 12, 2023
Scoping rules for modules
2
854
January 12, 2023
Why doesn't rayon need arc
2
590
December 30, 2023