oh cool, rustfmt can change `use` statements in ways that break your program
-
-
crate:: refers to your own crate while :: refers to the namespace above (where other crates reside in)
-
No, there is no namespace above, :: doesn't mean anything in the new edition, it is not an extension of the mental model. It exists purely so that the migration can work, it's legacy cruft.
- 2 more replies
New conversation -
-
-
That's for locals, `use ::regex;` will work fine.
-
Er, crate local modules.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.