Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
RUST: LET’S GET IT STARTED (medium.com/learning-rust)
3 points by dumindunuwan on Dec 3, 2017 | hide | past | favorite | 3 comments


Please follow the first rule of the submission guidelines: https://news.ycombinator.com/newsguidelines.html


Sorry, didn't know it. I used H1 all capital on Medium because they don't support H3s and I have to use H1 and H2 in the posts.


Hi Guys,

This is the forth post I wrote about Learning Rust on Medium. In there, I tried to summarize about,

▸ Modules

    Modules in the same file.

    Modules in a different file in the same directory.

    Modules in a different file in a different directory
▸ Crates

    lib.rs file on the same executable crate

    Dependency crate specified on Cargo.toml (from path, git repo & creating a create for crates.io)
▸ Workspaces

▸ std modules and Preludes

I am a 🇱🇰 Web Developer who lives in 🇻🇳. So I am not a native English speaker and just learning Rust(late nights), If you found any mistake or something that I need to change, even a spelling or a grammar mistake, please let me know.

Thanks.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: