Commit Graph

1488 Commits

Author SHA1 Message Date
hucc
d594ed645c
Update ch18-03-pattern-syntax.md
“讨论了”改成“讨论”;“每个语法”改成“这些语法”与前一句对应方便理解
2022-10-27 19:59:01 +08:00
hucc
d0d02e4169
Update ch17-02-trait-objects.md
这段有点难翻译,帮忙看看有没有更好一点
2022-10-26 18:59:20 +08:00
Alexander Qi
b8d66c8b6b
accent 指西欧语言的变音符号
https://zh.wikipedia.org/wiki/%E9%99%84%E5%8A%A0%E7%AC%A6%E5%8F%B7
2022-10-23 23:55:25 +08:00
Alexander Qi
3fe5899a3a
Wrap should be translated as "回绕" 2022-10-23 23:49:07 +08:00
ljkgpxs
69f393a8cf Update ch07-04-bringing-paths-into-scope-with-the-use-keyword.md
添加缺失代码,去除无意义语句
其中原文为:Before this change, external code would have to call the add_to_waitlist function by using the path restaurant::front_of_house::hosting::add_to_waitlist(). Now that this pub use has re-exported the hosting module from the root module, external code can now use the path restaurant::hosting::add_to_waitlist() instead.
2022-10-21 18:01:27 +08:00
ljkgpxs
0eace53a4d
Update ch07-02-defining-modules-to-control-scope-and-privacy.md 2022-10-21 16:22:43 +08:00
Shinolr
da2518a470 Update ch04-03-slices.md 2022-10-07 20:27:02 +08:00
hucc
2ef2a1c327
Update ch08-02-strings.md 2022-10-04 18:51:34 +08:00
KaiserY
d65e4e4bcb
Merge pull request #652 from GaN601/patch-2
修复ch9-02错别字 简介 -> 简洁
2022-10-04 12:57:51 +08:00
KaiserY
41ec4032e8
Merge pull request #651 from GeniusPenguin9/main
Add missing content in ch07-02
2022-10-04 12:57:34 +08:00
GaN601
07b5f2848e
修复错别字 简介 -> 简洁 2022-10-03 22:39:44 +08:00
GeniusPenguin9
5fe0781ece
Add missing content in ch07-02
Add missing content in ch07-02 based on latest version and more example in English version.
2022-10-03 17:01:47 +08:00
GaN601
df39200038
更新堆栈简介中把栈说成堆的错误
"指向放入堆中数据的指针是已知的并且大小是固定的"这里的堆应该是栈, 我看英文md写的是stack
2022-10-02 11:26:01 +08:00
KaiserY
0d4f8e953f
Merge pull request #649 from Shinolr/main
Update ch15-01-box.md
2022-09-29 11:52:46 +08:00
Shinolr
b22203621e Update ch15-01-box.md 2022-09-28 16:28:18 +08:00
gty4
745b6c802a
Update ch08-01-vectors.md 2022-09-27 23:49:14 +08:00
魔王卷子
d98be8b531 Update ch01-03-hello-cargo.md 2022-09-24 21:57:50 +08:00
KaiserY
658e59c6ff
update ch04-02 close #644 2022-09-21 10:36:39 +08:00
singcl
58f687bb4f fix(docs):修复ch13-03 html元素结束标签缺失的问题
文章ch13-03-improving-our-io-project 59行span元素缺失结束标签导致vuepress build的时候报错:
Compiling with vite[vite:vue] Element is missing end tag.
Compiling with vite - failed in 3.10s
SyntaxError: Element is missing end tag.
2022-09-21 00:08:57 +08:00
kkoang
67bfef6fba
与原文不同,疑似翻译不准确
原文地址:https://github.com/rust-lang/book/blob/main/src/ch03-02-data-types.md
原文:`An array is a single chunk of memory of a known, fixed size that can be allocated on the stack.`

把 `stack` 翻译成了 `堆栈` 应该翻译成 `栈` 这样更严谨一些
2022-09-13 17:36:32 +08:00
Xuzheng77s
bd3703424c 更新附录appendix 2022-08-28 22:21:17 +08:00
Xuzheng77s
a5c26f14d3 更新7.0与7.1 2022-08-28 16:26:35 +08:00
KaiserY
e1614a76eb update ch17-03 fix #640 2022-08-27 19:27:24 +08:00
KaiserY
506467d34a
Merge pull request #639 from GeniusPenguin9/main
Update ch08-02-strings.md
2022-08-26 00:43:28 +08:00
GeniusPenguin9
6610162736
Update ch08-02-strings.md 2022-08-24 23:04:16 +08:00
KaiserY
6fab79fc03
Merge pull request #638 from chenfajie/main
fix spelling mistakes
2022-08-24 17:46:17 +08:00
chenfajie
5fa7565d00 fix spelling mistakes 2022-08-24 15:21:37 +08:00
Xuzheng77s
0d88f0c55b 更新src/ch06-02-match.md 2022-08-19 20:06:25 +08:00
Xuzheng77s
d68da794d7 更新src/ch06-01-defining-an-enum.md 2022-08-19 19:32:40 +08:00
Xuzheng77s
b37ed35bbb 更新src/ch06-00-enums.md 2022-08-19 19:18:42 +08:00
Xuzheng77s
dd8c1bb414 更新src/ch05-03-method-syntax.md 2022-08-19 18:59:09 +08:00
Xuzheng77s
2dcf37310d 更新src/ch05-02-example-structs.md 2022-08-19 18:50:44 +08:00
Xuzheng77s
b5dc9cbb9f 更新src/ch05-01-defining-structs.md 2022-08-19 18:41:50 +08:00
Xuzheng77s
01732d8f30 更新src/ch05-00-structs.md 2022-08-19 18:31:49 +08:00
Xuzheng77s
6c5893a38a Update src/ch04-01-what-is-ownership.md.md ch04-01-what-is-ownership.md 2022-08-18 18:47:32 +08:00
Xuzheng77s
c82ff11a8f Update src/ch04-03-slices.md ch04-03-slices.md 2022-08-18 18:45:28 +08:00
Xuzheng77s
a8b5de3f59 Update src/ch04-02-references-and-borrowing.md ch04-02-references-and-borrowing.md 2022-08-18 18:42:17 +08:00
Xuzheng77s
60a4e3bef9 Update src/ch02-00-guessing-game-tutorial.md 2022-08-18 18:42:15 +08:00
Xuzheng77s
681a7090eb 又捉 2022-08-17 17:09:41 +08:00
Xuzheng77s
cdf7ea4d04 捉个小虫(Filename改为文件名) 2022-08-17 16:45:45 +08:00
Hongbo He
e7f39ae75a
Update ch13-01-closures.md
修复关于闭包破获变量的错误表述
2022-08-15 17:16:37 +08:00
Yike Du
beb1817b3c Fix setting env problem 2022-08-07 18:05:06 +08:00
stevenlele
f75ad6909a Update contents for ch00-10 2022-07-19 23:04:40 +08:00
Laisky.Cai
1e6e56d00b
Update ch02-00-guessing-game-tutorial.md
原文是 `so we need to specify 1..=100 to request a number between 1 and 100`。

既然包含上下端点,就不该是 0~101
2022-07-19 11:27:37 +08:00
stevenlele
c2a5b87590 Update introduction 2022-07-19 06:57:15 +08:00
KaiserY
2dbec4631f
update ch03-02 fix #628 2022-07-15 12:45:24 +08:00
AlwaysSweet
87084b3881 描述堆分配后的指针放入栈中过程 2022-07-06 14:16:00 +08:00
KaiserY
8357370952
Merge pull request #624 from Sefank/ch03-update
Update ch03 - 20220704
2022-07-05 22:01:30 +08:00
KaiserY
0cc19d0cae
Merge pull request #623 from Sefank/main
Update ch02 -20220703
2022-07-05 08:23:40 +08:00
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
45b566598a
Update ch02-00-guessing-game-tutorial.md 2022-07-03 23:48:54 +08:00
Sefank
2da49dfe9d
Refine the title for ch02
Signed-off-by: Sefank <12670778+Sefank@users.noreply.github.com>
2022-07-03 22:48:53 +08:00
Han
9d78b380c1
修正部分翻译 2022-07-03 19:26:35 +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
KaiserY
946f5d5fc0 update to ch15-06 2022-02-10 11:28:06 +08:00
KaiserY
be4f7e7281 update to ch14-05 2022-02-09 19:16:45 +08:00
KaiserY
0635f02553 update to ch13-04 2022-02-09 18:59:22 +08:00
KaiserY
324244de9b update to ch12-06 2022-02-09 16:54:09 +08:00
KaiserY
7e44e87a77 update to ch11-03 2022-02-09 10:16:09 +08:00
KaiserY
eaec47a9ed update to ch10-03 2022-02-08 10:27:36 +08:00
KaiserY
95a46e3bb8 update to ch09-03 2022-02-07 21:47:49 +08:00
manbucy
131256699c
Update appendix-02-operators.md
`%`  取模--> 取余
2022-02-07 16:26:07 +08:00
KaiserY
f625094908 update to ch08-03 2022-02-07 16:14:15 +08:00
KaiserY
4b0a9c80b2 update to ch07-05 2022-02-07 15:06:23 +08:00
KaiserY
f1b94ab927 update to ch06-03 2022-02-07 14:36:29 +08:00
KaiserY
7f827e9fab update to ch05-03 2022-02-07 11:37:16 +08:00
KaiserY
b1a0ca6e85 update to ch04-02 2022-02-06 23:46:50 +08:00
KaiserY
23278a0c39 update to ch03-05 2022-02-06 22:46:20 +08:00
KaiserY
951f1df20b Merge branch 'master' into main 2022-02-06 16:59:06 +08:00
KaiserY
956996e0e8 add listings code && update to ch02-00 2022-02-06 16:43:51 +08:00
tanliwei
4343fff9c8
fix a typo
fix a typo
2022-02-03 08:52:59 +08:00
Liming Jin
54b2342e85
update appendix-04: replace rls to rust-analyzer 2022-01-22 16:47:27 +08:00
KaiserY
a62de9ef02
Merge pull request #579 from mnixry/patch-1
Fix some untranslated `Filename:`
2022-01-13 19:24:33 +08:00
Mix
95c930ba95 fix some untranslated Filename: 2022-01-13 19:15:05 +08:00
Liming Jin
4024a81432
update ch05-03 2022-01-11 18:14:29 +08:00
KaiserY
397642d565
Merge pull request #577 from jinliming2/update-ch05-02
update ch05-02
2022-01-11 14:22:19 +08:00
Liming Jin
871911b4a2
update ch05-02 2022-01-11 13:47:03 +08:00
Sefank
3188f7a784
Update title-page.md to V2021-12-24
Signed-off-by: Sefank <12670778+Sefank@users.noreply.github.com>
2022-01-10 18:38:33 +08:00
Yunli Liu
429cfa4222
fix: runtime penalty 运行时损耗
The number of times that Deref::deref needs to be inserted is resolved at compile time, so there is no runtime penalty for taking advantage of deref coercion!
这些解析都发生在编译时,所以利用 Deref 强制转换并没有运行时损耗!
2022-01-09 17:13:13 +08:00
makisevon
317b7ab3be
fix: tiny mistakes 2022-01-08 17:39:04 +08:00
kyle
f5045a2147
fixed typo
fixed typo
2022-01-07 09:33:27 +08:00
KaiserY
fc425b84f0
update ch05-01 fix typo 2021-12-29 15:39:57 +08:00
KaiserY
f8d9ba1dc2
update ch05-02 close #571 2021-12-29 14:14:58 +08:00
KaiserY
38585e1621
update ch05-01 close #570 2021-12-29 14:11:06 +08:00
Vanilla
6d4849235b
[F] ch05-03-method-syntax.md: Typo "他" -> "它". 2021-12-24 16:40:05 +08:00
MacTavish Lee
63d11a44c6
Update ch03-01-variables-and-mutability.md
翻译较为生硬,用`但`阅读起来并不通顺,这里的意思是改变类型还能继续用这个变量名,用`并且`更为合适。
2021-12-23 14:53:36 +08:00
Rawlence
d6bb9b4c5e update ch-03-03-how-functions-work 2021-12-14 23:22:31 +08:00
Rawlence
f55b036d47 update ch03-02-data-type 2021-12-14 23:22:31 +08:00
Rawlence
7a7630e086 update ch03-01-variables-and-mutability 2021-12-05 11:51:46 +08:00
Rawlence
f22d7d9d96 update to the latest document(2021-12-05) 2021-12-05 02:02:24 +08:00
KaiserY
9b9406500f
Merge pull request #564 from sihuan/main
update ch06-02-match.md
2021-12-01 18:05:58 +08:00
SiHuan
f421a2a4ed
update ch06-02-match.md 2021-12-01 16:35:29 +08:00
boholder
7352dade75 Optimize confusing descriptions in ch17-03-oo-design-patterns.md 2021-12-01 16:23:15 +08:00
ardxwe
fc984cccf4 update comments 2021-12-01 11:44:57 +08:00
AiHao
dbd823ccd2 chore: fix the redundant field interpretation 2021-11-28 21:38:58 +08:00
A1lo
7aa71fe6d8
fix: response with correct HTTP/1.x Message format
The correct `HTTP/1.x Message`'s headers are followed after the `start-line` which describing the requests to be implemented. After the `headers` is a `blank line` indicating all `meta-information` for the request has been sent. Then the `optional body` is followed.
Increase HTTP buffer size to 1024(keep the same with the buffer size in `ch20-01-single-threaded.md`).
2021-11-09 14:47:00 +08:00
A1lo
515246b920
fix: response with correct HTTP/1.x Message format
The correct `HTTP/1.x Message`'s headers are followed after the `start-line` which describing the requests to be implemented. After the `headers` is a `blank line` indicating all `meta-information` for the request has been sent. Then the `optional body` is followed.
2021-11-09 10:38:45 +08:00
kalasutra
9b39aa307b
修复示例代码中的语法错误 2021-11-05 23:58:14 +08:00
renxinxie
97dee7c164 fix some typo 2021-11-04 21:33:49 +08:00
liuyanjie
7465d603ba
Update ch05-01-defining-structs.md
修复5.1章节拼写错误 : `...user1` -> `..user1`
2021-10-18 13:32:48 +08:00
Bryan Lee
955bb7cdd3 docs: update the Chapter 5 and improve some of the wording 2021-10-15 17:30:50 +08:00
Bryan Lee
56632d1942 docs: update the Chapter 4 and improve some of the wording 2021-10-13 17:42:10 +08:00
KaiserY
834e1c28cf
update ch15-06 close #546 2021-10-13 10:46:46 +08:00
Annlix
8747efb5db
Fixed a sytax error in ch03-05
At line 286, the correct sytax of `break` is `break 'counting_up;`, not `break'counting_up;`.
2021-10-13 09:20:37 +08:00
Annlix
828f7fa416
Fixed an error in ch03-05-control-flow
At line 286, the loop label is `counting_up`, not `counting_ up`
2021-10-13 09:03:21 +08:00
Annlix
0b56c7e876
Fixed an error in ch03-01
Fixed an error in ch03-01
2021-10-12 09:25:21 +08:00
Sprite
a67a9daa6b Fix listing ids 2021-10-04 16:01:49 +08:00
Sprite
a317ca4f5f Improve translation grammar in the chapter 19-4 2021-10-04 15:11:47 +08:00
Sprite
dfb5d8fa25 Remove a duplicate word 2021-10-03 15:15:01 +08:00
Sprite
c7d036e02f Fix a typo 2021-09-30 04:36:58 +08:00
Nicholas Zhan
6d9a9968b1 纠正 ISSUE#547 描述的翻译错误 2021-09-25 13:58:47 +08:00
sai0556
de9b29ad1c
示例代码缺失
示例20-9,20-7缺少Content-Length
2021-09-16 00:49:21 +08:00
KaiserY
b7aeabd042
Merge pull request #544 from Orefa/master
修改过程宏的翻译
2021-09-01 14:57:51 +08:00
KaiserY
64ebac2d4e
Merge pull request #543 from showerMuggle/patch-1
删除重复段落
2021-09-01 14:57:35 +08:00
KaiserY
8cd62b28cb
Merge pull request #542 from LiuYinCarl/main
修复部分19章错误及语法问题
2021-09-01 14:57:26 +08:00
Orefa
c07e78acdc 更改过程宏的翻译 2021-09-01 13:19:07 +08:00
shower
2fcbb5b865
删除重复段落 2021-08-31 16:40:16 +08:00
LiuYinCarl
6e87e7ee60 修复部分19章错误及语法问题 2021-08-31 14:15:16 +08:00
Orefa
cdc4aff79b
Merge branch 'KaiserY:main' into master 2021-08-31 07:28:17 +08:00
Orefa
f1daab41ba fix anchor 2021-08-30 22:10:24 +08:00
LiuYinCarl
acc9b9b586 Merge remote-tracking branch 'upstream/main' into main 2021-08-30 13:22:47 +08:00
LiuYinCarl
2939ddb01b 修复18章部分错误及调整部分翻译 2021-08-30 13:21:30 +08:00
KaiserY
8c0eb32d86
Merge pull request #539 from LiuYinCarl/main
修复目录与标题不一致
2021-08-30 12:12:53 +08:00
LiuYinCarl
d141d7935a 修复目录与标题不一致 2021-08-30 11:25:23 +08:00
Orefa
796a574366
fix anchor 2021-08-28 21:26:18 +08:00
LiuYinCarl
ba961370a7 对照英文原文,修改计算 enum 占用内存大小的说明 2021-08-27 00:08:24 +08:00
skiy
981e46b7f5 docs: update ch10-00-generics.md 2021-08-25 20:12:00 +08:00
Brayn Lee
7e368ea706 docs: update the Chapter 3 and improve some of the wording 2021-08-24 01:48:49 +08:00
Orefa
b2c7139c78
Update ch18-03-pattern-syntax.md
fix anchor
2021-08-20 09:20:31 +08:00
Sprite
eb04a192d1 Correct a translation error 2021-08-16 19:59:17 +08:00
Sprite
cc21e28e95 Improve translation grammar 2021-08-16 19:59:11 +08:00
KaiserY
649b16f0c2
Merge pull request #528 from SpriteOvO/patch-2
Improve translation grammar
2021-08-16 09:37:34 +08:00
KaiserY
f99e58e90a
Merge pull request #529 from SpriteOvO/patch-3
Improve translation grammar
2021-08-16 09:37:19 +08:00
Sprite
114d46a442
Improve translation grammar 2021-08-15 23:07:12 +08:00
Sprite
2b98e71295
Fix a minor formatting mistake 2021-08-15 22:26:17 +08:00
Sprite
16674d1686
Improve translation grammar 2021-08-15 21:27:23 +08:00
Sprite
d2c853aa0e
Fix typo and improve grammar 2021-08-15 19:28:14 +08:00
Brayn Lee
38c23ae5d8 docs: update ch02-00-guessing-game-tutorial.md 2021-08-11 00:23:19 +08:00
Brayn Lee
8f72942aff docs: remove unsafe Ferris designations from code 2021-08-09 00:06:10 +08:00
Brayn Lee
2c79387d0b docs: update ch00 and ch01 sections 2021-08-08 17:45:24 +08:00
杨坚强
c423db8364
更正翻译错误 2021-08-07 17:29:45 +08:00
xBLACKICEx
98c8e34b48
Update ch03-05-control-flow.md
改一下拼写错误
2021-08-01 13:45:44 +02:00
xBLACKICEx
91eef35b44 更改翻译语语句是的更通顺 2021-07-31 00:54:33 +02:00
KaiserY
8a87fcf074
update ch02-00 close #521 2021-07-27 22:25:09 +08:00
Enki-y
1af9d4d921
Update foreword.md 2021-07-23 00:43:18 +08:00
KaiserY
3c9643b30b update ch18-00 close #519 2021-07-13 09:47:14 +08:00
KaiserY
a737fe8fe1 update Deref Coercion, close #508 2021-07-07 11:26:50 +08:00
KaiserY
b6c8485976 update img 2021-07-07 10:29:18 +08:00
Jorge
ea3622dfb0
Fix 2 typos: "它人" -> "他人" 2021-07-01 17:51:06 +08:00
Jorge
2401ab6364
Fix a typo: "改" -> "该" 2021-07-01 16:06:23 +08:00
Jorge
efcc26fab2
Fix rand's version: 0.5.6 -> 0.8.4 2021-06-29 14:00:54 +08:00
王嘉欣
3c18c9371e
fix code error 2021-06-16 14:53:22 +08:00
Jchaokai
611ba5b95a
Update ch02-00-guessing-game-tutorial.md 2021-06-05 01:49:34 +08:00
iamwhcn
cf9ce76876 更新原文链接 2021-06-03 12:26:20 +08:00
Hao Wang
cecb8a1e76
更新原文链接 2021-06-03 11:47:23 +08:00
Hao Wang
dac25e0f76
更新示例 16-11的代码 2021-06-02 21:11:29 +08:00
dirtmelon
b12c748c36 Update ch02-00-guessing-game-tutorial.md 2021-05-25 10:05:58 +08:00
Suven
254cbaa607
Update ch06-02-match.md
Delete duplicate content
2021-05-15 14:59:52 +08:00
KaiserY
e4143bd47e
update ch02-00 close #505 2021-05-14 16:48:22 +08:00
guo
dd5556f7cf
Update ch13-02-iterators.md
修改错别字
2021-04-24 07:48:58 +08:00
KaiserY
0405079c5d
Merge pull request #502 from zhibinr/patch-2
修正链接
2021-04-21 22:42:46 +08:00
KaiserY
5263eee616
Merge pull request #503 from zhibinr/patch-3
ch19-06, 改进翻译
2021-04-21 22:42:30 +08:00
zhibinr
54ec8bb473
Update ch19-06-macros.md 2021-04-21 21:06:48 +08:00
zhibinr
42bc09040e
改进翻译 2021-04-21 20:55:14 +08:00
zhibinr
cd771fedb7
改进”In a moment"的翻译 2021-04-21 20:46:56 +08:00
zhibinr
0251fe4543
修正链接 2021-04-21 18:49:11 +08:00
zhibinr
7f7b2bc82e
修正引用的示例编号 2021-04-21 17:25:41 +08:00
Tony Zhou
3474c55909
Update ch11-03-test-organization.md
原翻译语义不清
2021-04-16 10:43:46 +08:00
KaiserY
4ded248e2b
update appendix-01 fix #499 2021-03-31 11:09:00 +08:00
guo
963bd09920
Update ch06-01-defining-an-enum.md 2021-03-28 07:10:50 +08:00
KaiserY
fdf1ea90da update ch19-06 close #497 2021-03-09 23:59:40 +08:00
KaiserY
743ba2472d update ch19-03 close #496 2021-03-01 21:17:29 +08:00
TheVoid
278ff07f75
fix typo 2021-02-23 03:59:38 +08:00
yuhao1229
e120717ba3
Update ch13-02-iterators.md
项的序列 -> 序列的项
2021-02-09 09:03:16 +08:00
Zehua Zou
f6fe40b11b
Update ch20-03-graceful-shutdown-and-cleanup.md 2021-02-07 01:48:08 +08:00
Zehua Zou
5f225daae8
Update ch20-01-single-threaded.md 2021-02-07 01:46:26 +08:00
Zehua Zou
5c29c8d652
Update ch20-01-single-threaded.md 2021-02-07 00:27:21 +08:00
Zehua Zou
e81004a7ab
Update ch20-01-single-threaded.md 2021-02-07 00:15:34 +08:00
Zehua Zou
974330f172
Update ch15-06-reference-cycles.md 2021-02-06 00:40:53 +08:00
Zehua Zou
cbf8fe962a
Update ch12-03-improving-error-handling-and-modularity.md 2021-02-04 22:38:04 +08:00
KaiserY
c3b095ea4d update ch06-02 close #486 2021-02-01 20:07:13 +08:00
KaiserY
fc7e90621f update ch07-04 close #488 2021-02-01 10:54:47 +08:00
Oyyko
6204fdc727 Fix typo 2021-01-28 18:13:20 +08:00
Shuyang Wu
3a47d6a953
Update ch07-01-packages-and-crates.md 2020-11-20 14:29:28 +08:00
poly000
caeb0d33f8
Update ch18-03-pattern-syntax.md 2020-11-02 12:59:21 +08:00
KaiserY
6245824ab9
update ch13-01 close #482 2020-10-28 17:51:19 +08:00
Kefu Chai
0ff72eb6c7 ch10-01-syntax: revise translation
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2020-10-25 15:55:03 +08:00
MoXtar-1s
d4a7c03238 Update ch20-03-graceful-shutdown-and-cleanup.md
Add a missing statement.
2020-10-07 00:38:14 +08:00
KaiserY
a0652f5baf update ch01-01 and title-page close #472 2020-09-22 10:02:58 +08:00
Orefa
54cc7c83c5 remove > 2020-09-21 22:26:22 +08:00
Orefa
e80e922fc3
Update ch14-02-publishing-to-crates-io.md 2020-09-21 07:25:07 +08:00
Orefa
639f9123ef
Update ch12-04-testing-the-librarys-functionality.md 2020-09-17 21:55:34 +08:00
Orefa
0f6a09ec28
Update ch12-03-improving-error-handling-and-modularity.md
fix variable name
2020-09-16 22:29:00 +08:00
Orefa
ad55920256
Update ch10-03-lifetime-syntax.md
fix output message
2020-09-10 07:10:17 +08:00
KaiserY
538bcf748a
Merge pull request #469 from Orefa/patch-1
fix link
2020-08-27 11:10:24 +08:00
KaiserY
8a82dcd770
Merge pull request #467 from skiy/master
Add The Array Type section
2020-08-27 11:10:05 +08:00
Orefa
b4ae97a90b
fix link 2020-08-26 20:53:37 +08:00
Orefa
c613b67fd5
fix link url 2020-08-26 20:43:35 +08:00
skiy
1fa38d5874 Add The Array Type section 2020-08-26 15:10:27 +08:00
Skiy Chan
f1fc4dd320
Update ch02-00-guessing-game-tutorial.md 2020-08-25 23:35:16 +08:00
KaiserY
4950ddf381
Merge pull request #465 from Discreater/patch-2
fix ch14-03-cargo-workspaces.md: `add*` to `*add*`
2020-08-24 22:39:24 +08:00
Discreater
2b34bdeaea
Update ch14-03-cargo-workspaces.md 2020-08-24 18:23:33 +08:00
pan93412
3b4dab10c8
fix(ch13-03): &[String] -> &[String] 2020-08-24 17:41:48 +08:00
Discreater
626c42bf17
Update ch11-03-test-organization.md 2020-08-23 17:45:57 +08:00
TangliziGit
e3327d71c9 fix translation in ch19-01-unsafe-rust.md
修复`可变或不可变`顺序错误

Refs: https://github.com/KaiserY/trpl-zh-cn/issues/461
2020-08-18 17:42:22 +08:00
KaiserY
bbd7c41391 update ch14-02 close #460 2020-08-17 10:05:56 +08:00
zyw271828
02845de9e8
Fix typo 2020-08-14 09:04:08 +08:00
Orefa
bdfff5f346
Update ch03-01-variables-and-mutability.md
fix link
2020-08-10 12:56:39 +08:00
KaiserY
4cd8d95664
Merge pull request #457 from Nangos/patch-44
Update appendix-07-nightly-rust.md
2020-08-09 23:02:08 +08:00
KaiserY
9bb1d5690d
Merge pull request #456 from Nangos/patch-43
Update appendix-06-translation.md
2020-08-09 23:01:24 +08:00
KaiserY
ef5daf4916
Merge pull request #455 from Nangos/patch-42
Update appendix-05-editions.md
2020-08-09 23:01:10 +08:00
KaiserY
604eaf2e77
Merge pull request #454 from Nangos/patch-41
Update appendix-04-useful-development-tools.md
2020-08-09 23:00:49 +08:00
KaiserY
c6ee69b98b
Merge pull request #453 from Nangos/patch-40
Update appendix-03-derivable-traits.md
2020-08-09 23:00:33 +08:00
KaiserY
e820168ea0
Merge pull request #452 from Nangos/patch-39
Update ch19-06-macros.md
2020-08-09 23:00:09 +08:00
KaiserY
13f9232eab
Merge pull request #451 from Nangos/patch-38
Update ch19-05-advanced-functions-and-closures.md
2020-08-09 22:59:43 +08:00
Nango
0858706cf0
Update appendix-07-nightly-rust.md 2020-08-09 02:53:28 -05:00
Nango
f725d8839c
Update appendix-06-translation.md 2020-08-09 02:25:12 -05:00
Nango
7a870c3b4e
Update appendix-05-editions.md 2020-08-09 02:13:06 -05:00
Nango
bfa7e3204b
Update appendix-04-useful-development-tools.md 2020-08-09 01:57:57 -05:00
Nango
90f09d9e28
Update appendix-03-derivable-traits.md 2020-08-09 01:38:55 -05:00
Nango
7c641f104d
Update ch19-06-macros.md 2020-08-08 07:31:13 -05:00
Nango
aafeb8c8d7
Update ch19-05-advanced-functions-and-closures.md 2020-08-08 05:35:45 -05:00
Nango
72595447a1
fix strike 2020-08-08 05:05:04 -05:00
Nango
32b88aea0d
Update ch19-03-advanced-traits.md 2020-08-08 04:56:18 -05:00
KaiserY
4bec93cede
Merge pull request #449 from HareInWeed/patch
fix translation in ch19-06-macros.md
2020-08-03 10:59:10 +08:00
HareInWeed
a33f67fb39 fix translation in ch19-06-macros.md 2020-08-03 10:39:37 +08:00
Nango
126b5ab62c
Update ch19-01-unsafe-rust.md 2020-08-02 00:03:12 -05:00
Nango
a911b5a90e
Update ch17-03-oo-design-patterns.md 2020-08-01 13:43:54 -05:00
KaiserY
e4a7dc8033
Merge pull request #445 from Nangos/patch-34
Update ch17-01-what-is-oo.md
2020-07-19 21:52:09 +08:00
Nango
582d745275
Update ch17-01-what-is-oo.md 2020-07-19 04:50:01 -05:00
Nango
cf62c619c0
Update ch16-01-threads.md 2020-07-19 03:08:43 -05:00
wtklbm
e100794706
Update ch19-04-advanced-types.md 2020-07-17 17:17:52 +08:00
LiuYang
84b07e3822
Update ch03-02-data-types.md
more clear
2020-07-17 13:54:26 +08:00
KaiserY
3beedad29c
update ch07-05 close #441 2020-07-15 11:02:09 +08:00
KaiserY
7dfbeb65df
Merge pull request #439 from Nangos/patch-31
Update ch15-00-smart-pointers.md
2020-07-12 22:33:54 +08:00
KaiserY
89b2d52028
Merge pull request #440 from Nangos/patch-32
Update ch15-03-drop.md
2020-07-12 22:22:02 +08:00
KaiserY
0c097ef823
Merge pull request #438 from Nangos/patch-30
Update ch15-05-interior-mutability.md
2020-07-12 22:20:03 +08:00
KaiserY
94de12f494
Merge pull request #437 from Nangos/patch-29
Update ch15-04-rc.md
2020-07-12 22:19:50 +08:00
KaiserY
8db3ff120b
Merge pull request #435 from Nangos/patch-25
Update ch13-01-closures.md
2020-07-12 22:19:32 +08:00
Nango
803214946c
Update ch15-03-drop.md 2020-07-12 08:20:49 -05:00
Nango
8c463ba78f
Update ch15-00-smart-pointers.md 2020-07-12 08:12:03 -05:00
Nango
712d64f6ee
Update ch15-05-interior-mutability.md 2020-07-12 08:07:15 -05:00
Nango
31beec42a1
Update ch15-04-rc.md 2020-07-12 07:10:11 -05:00
Nango
7d350b2bb8
Update ch14-02-publishing-to-crates-io.md 2020-07-12 05:53:59 -05:00
Nango
6e76aa7ce5
Update ch13-01-closures.md 2020-07-12 01:27:37 -05:00
KaiserY
f7ab3f6d88
Merge pull request #430 from Nangos/patch-20
fix caption format
2020-07-11 17:39:02 +08:00
KaiserY
b29d41ed25
Merge pull request #431 from Nangos/patch-21
Update ch12-03-improving-error-handling-and-modularity.md
2020-07-11 17:38:46 +08:00
KaiserY
291f119c58
Merge pull request #432 from Nangos/patch-22
Update ch12-04-testing-the-librarys-functionality.md
2020-07-11 17:38:13 +08:00
KaiserY
931fe143d1
Merge pull request #433 from Nangos/patch-23
Update ch12-05-working-with-environment-variables.md
2020-07-11 17:37:47 +08:00
KaiserY
20a1251c0b
Merge pull request #434 from Nangos/patch-24
Update ch12-06-writing-to-stderr-instead-of-stdout.md
2020-07-11 17:37:28 +08:00
Nango
b8cb9b7d72
Update ch12-06-writing-to-stderr-instead-of-stdout.md 2020-07-11 00:10:14 -05:00
Nango
60fa188a68
Update ch12-05-working-with-environment-variables.md 2020-07-10 23:59:51 -05:00