Closed bnzone closed 1 year ago
Love your content! I'm getting into Rust and for me this is probably the best explanation for Rust modules/files system that I've read. Thank you for what you do!
Link to the page, make sure to point out which paragraph it's in. https://fasterthanli.me/articles/rust-modules-vs-files
Indeed, we don't use sub in main right now. What happens if we remove its (it?) from the use directive? ie., if we change src/main.rs to: As expected, this builds and run (runs?) just fine:
Indeed, we don't use sub in main right now. What happens if we remove its (it?) from the use directive? ie., if we change src/main.rs to:
its
As expected, this builds and run (runs?) just fine:
run
I think there's just a few small typos in the paragraphs mentioned above (I highlighted the words)
@bnzone thanks for catching these, I've fixed them in the article!
Love your content! I'm getting into Rust and for me this is probably the best explanation for Rust modules/files system that I've read. Thank you for what you do!
It happened on this page
Link to the page, make sure to point out which paragraph it's in. https://fasterthanli.me/articles/rust-modules-vs-files
Here's what the issue is
I think there's just a few small typos in the paragraphs mentioned above (I highlighted the words)