TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

RUST: LET’S GET IT STARTED

3 点作者 dumindunuwan超过 7 年前

2 条评论

iamthirsty超过 7 年前
Please follow the first rule of the submission guidelines: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;newsguidelines.html" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;newsguidelines.html</a>
评论 #15841009 未加载
dumindunuwan超过 7 年前
Hi Guys,<p>This is the forth post I wrote about Learning Rust on Medium. In there, I tried to summarize about,<p>▸ Modules<p><pre><code> Modules in the same file. Modules in a different file in the same directory. Modules in a different file in a different directory </code></pre> ▸ Crates<p><pre><code> lib.rs file on the same executable crate Dependency crate specified on Cargo.toml (from path, git repo &amp; creating a create for crates.io) </code></pre> ▸ Workspaces<p>▸ std modules and Preludes<p>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.<p>Thanks.