Sefank
f5fc77e0a1
Update ch03-05-control-flow.md
...
Signed-off-by: Sefank <12670778+Sefank@users.noreply.github.com>
2022-07-04 22:17:53 +08:00
Sefank
7161a99345
Update ch03-03-how-functions-work.md
...
Signed-off-by: Sefank <12670778+Sefank@users.noreply.github.com>
2022-07-04 22:10:23 +08:00
Sefank
3b2bea23a9
Update ch03-02-data-types.md
...
Signed-off-by: Sefank <12670778+Sefank@users.noreply.github.com>
2022-07-04 11:27:33 +08:00
Sefank
64561d29e1
Update ch03-01-variables-and-mutability.md
...
Signed-off-by: Sefank <12670778+Sefank@users.noreply.github.com>
2022-07-04 11:11:55 +08:00
Sefank
c9d4f0c3d5
Update ch01-03-hello-cargo.md
2022-07-03 01:25:41 +08:00
Sefank
7fc6510768
update ch01-02-hello-world.md
...
Signed-off-by: Sefank <12670778+Sefank@users.noreply.github.com>
2022-07-03 00:56:09 +08:00
Sefank
8d2fc58e29
Update ch01-01-installation.md
...
Signed-off-by: Sefank <12670778+Sefank@users.noreply.github.com>
2022-07-03 00:22:53 +08:00
shinolr
be7fd7ec2c
update ch05-03-method-syntax.md
2022-07-01 10:43:28 +08:00
shower
2b2e4502c9
Merge pull request #61 from showerMuggle/patch-3
...
Update ch13-04-performance.md
2022-06-29 17:27:53 +08:00
shower
87e6f4fb2b
Merge pull request #60 from showerMuggle/patch-2
...
Update ch13-03-improving-our-io-project.md
2022-06-29 17:27:18 +08:00
shower
f3c5ef2320
Update ch13-04-performance.md
...
删除重复段落
2022-06-29 17:21:26 +08:00
shower
d9817fba84
Update ch13-03-improving-our-io-project.md
...
删除多余段落
2022-06-29 17:19:42 +08:00
shower
c467aaed5a
Update ch13-01-closures.md
...
Calling the closures is required for add_one_v3 and add_one_v4 to be able to compile because the types will be inferred from their usage.
2022-06-29 15:32:56 +08:00
AuroraTea
3d386890ec
fix ch10-03-lifetime-syntax.md possible ambiguity
...
这里的它虽然结合知识和语境应该能看出来是悬垂引用,但是从汉语语法上来看就像是说生命周期。
2022-06-25 16:12:10 +08:00
cracker8090
9d3c4e217b
fix ch16-03-shared-state.md edit error
2022-06-09 21:51:43 +08:00
shinolr
a34ea72622
update ch17-03-oo-design-patterns.md
2022-06-05 22:16:46 +08:00
shinolr
c1bb02cdc9
update ch16-03-shared-state.md
2022-06-04 23:08:00 +08:00
KaiserY
373e77fa8c
Merge pull request #609 from Shinolr/main
...
fix: wrong type name
2022-06-03 22:09:33 +08:00
shinolr
97b1fb9671
update ch15-06-reference-cycles.md
2022-06-03 21:42:31 +08:00
shinolr
01342b9c16
fix: wrong type name
2022-06-03 20:58:33 +08:00
KaiserY
5da333392f
Merge pull request #608 from zhenzhenChange/fix-typo-with-optimized-translation-ch09-02
...
fix typo with optimized translation ch09-02
2022-06-03 20:56:58 +08:00
Yolo
300eb3699d
fix typo with optimized translation ch09-02
2022-06-02 18:25:57 +08:00
KaiserY
500bffebdc
Update ch09-00-error-handling.md
2022-06-02 12:35:55 +08:00
Yolo
8dd6ffb773
perf(translation): optimized-translation-ch09
2022-06-02 10:46:05 +08:00
hole\jmu
167fd47530
fix ch15
2022-05-23 22:43:21 +08:00
lyon.nee
5f9c5d84df
这里应保持 vector原意, 翻译成向量会让人有误解
2022-05-19 10:47:22 +08:00
h888866j
a551d9579e
Update ch19-06-macros.md
...
Changing the remaining “单边模式” to “分支模式”
2022-05-16 18:46:54 +08:00
h888866j
ba9539f7ed
Fixing translation errors in ch19-06-macros.md
...
Fixing multiple translation errors in ch19-06-macros.md and adjusting translations in this chapter to make it more appropriate and readble.
2022-05-16 18:29:13 +08:00
117503445
01776dd7a3
fix duplicate title in guessing-game-tutorial
...
ch02-00-guessing-game-tutorial.md has two `接收用户输入` title
2022-05-13 12:10:03 +08:00
liuziyang
acb2a34fbd
删除ch18-02-refuability中多余词语
2022-05-01 15:57:59 +08:00
juicyenc
e5b44404d0
根据英文repo修饰语言,使其更贴合原意
2022-04-22 22:47:49 +08:00
juicyenc
bfd058ef20
更改race conditon的翻译
2022-04-22 22:44:27 +08:00
juicyenc
3c4a7a5ee5
更改channel的翻译
2022-04-22 22:44:07 +08:00
云与原
379ea2de6f
Update ch10-02-traits.md
2022-04-05 23:31:26 +08:00
raygift
34ee9f11d3
update to ch10-02
...
修正声明trait 为pub 的描述
2022-03-25 13:58:10 +08:00
金晖
d4351aac10
17-2 add object safety
...
我注意到17-2章最后有一小节没有翻译,就先翻译上了。
我不太清楚把新加的实例代码放在哪里,就直接放在文档中了。
I`m not sure where to push the new demonstrate code so I just put them in origin file
2022-03-20 12:36:16 +08:00
nb5p
6cf2b8539e
fix typo
2022-03-12 16:13:56 +08:00
qwinsi
30e084d110
ch07-02修改措辞:“比喻” --> “类比”
...
[7.2 定义模块来控制作用域与私有性] 小节中最后一段中的这句话:
> 原文:The module tree might remind you of the filesystem’s directory tree on your computer; this is a very apt comparison!
> 翻译:这个模块树可能会令你想起电脑上文件系统的目录树;这是一个非常恰当的比喻!
“比喻”一词改为“类比”是不是更准确一些?
2022-03-04 17:21:46 +08:00
KaiserY
b9a9911c2e
update ch11-01 close #592
2022-02-28 11:26:45 +08:00
KaiserY
c4a93b80c1
update ch09-02 close #590
2022-02-24 22:29:48 +08:00
tomoat
c91ee75d96
Update ch05-01-defining-structs.md
2022-02-21 14:52:47 +08:00
XMLHexagram
aa48c293b1
fix(typo): custom data types
=> 自定义数据类型
2022-02-20 15:03:03 +08:00
Live4dreamCH
bf15d06e34
PR:修改7.4中pub use部分的表述
...
您好!我是rust的初学者,在阅读pub use部分时没有太理解,于是去读了这部分的英文原文,并尝试着修改,使这段更简单易懂。
这是我第一次PR,如有不妥请您多多谅解!
以下是我的验证代码,可以通过编译。
```rust
// 我们所导入的mod
mod front_of_house {
pub mod hosting {
pub fn add_to_waitlist() {}
}
}
// 我们的mod
mod curr {
pub use crate::front_of_house::hosting; // 重导出
pub fn eat_at_restaurant() {
hosting::add_to_waitlist();
}
}
// 导入我们代码的mod
mod others {
use crate::curr;
pub fn others_fn() {
curr::hosting::add_to_waitlist(); // 使用重导出
curr::eat_at_restaurant();
}
}
fn main() {
others::others_fn();
println!("Hello, world!");
}
```
2022-02-17 20:08:30 +08:00
KaiserY
6983d4e013
fix minted
2022-02-14 23:46:54 +08:00
AtomAlpaca
f2002a0445
fix ch02-00
2022-02-14 18:15:42 +08:00
KaiserY
91c7d02376
update to appendix-07
2022-02-10 23:01:01 +08:00
KaiserY
61292d1711
update to ch19-06
2022-02-10 16:52:17 +08:00
KaiserY
d7b0fa8065
update to ch18-03
2022-02-10 15:15:40 +08:00
KaiserY
5b156454d8
update to ch17-03
2022-02-10 14:30:38 +08:00
KaiserY
6493652a3b
update to ch16-04
2022-02-10 13:28:50 +08:00