提交 e197a2b0 编写于 作者: B bors

auto merge of #18140 : JelteF/rust-1/guide-fix, r=cmr

The reason given didn't make any sense when I read it when reading through the docs. I think this is more clear. Please let me know it is also more correct.
......@@ -3144,8 +3144,8 @@ pub fn add_three_times_four(x: int) -> int {
}
```
We're calling this file `lib.rs` because it has the same name as our project,
and so it's named this, by convention.
We're calling this file `lib.rs`, because Cargo uses that filename as the crate
root by convention.
We'll then need to use this crate in our `src/main.rs`:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册