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
1
1054
November 12, 2017
Use statements inside functions
help
8
3591
June 24, 2020
Dynamically using (or not using) rayon
help
10
3708
February 22, 2019
Scoping rules for modules
1
882
May 26, 2016
Why doesn't rayon need arc
1
671
October 1, 2023