Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
steveklabnik
on Jan 11, 2017
|
parent
|
context
|
favorite
| on:
The Rust module system is too confusing
This is the "use starts at the crate root" thing. If you move the "extern crate", then the place it ends up in the module hierarchy is different, and so it breaks.
I always leave "extern crate" in the crate root; then it all Just Works.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
I always leave "extern crate" in the crate root; then it all Just Works.