KaiserY
500bffebdc
Update ch09-00-error-handling.md
2 years ago
Yolo
8dd6ffb773
perf(translation): optimized-translation-ch09
2 years ago
hole\jmu
167fd47530
fix ch15
3 years ago
lyon.nee
5f9c5d84df
这里应保持 vector原意, 翻译成向量会让人有误解
3 years ago
h888866j
a551d9579e
Update ch19-06-macros.md
...
Changing the remaining “单边模式” to “分支模式”
3 years ago
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.
3 years ago
117503445
01776dd7a3
fix duplicate title in guessing-game-tutorial
...
ch02-00-guessing-game-tutorial.md has two `接收用户输入` title
3 years ago
liuziyang
acb2a34fbd
删除ch18-02-refuability中多余词语
3 years ago
juicyenc
e5b44404d0
根据英文repo修饰语言,使其更贴合原意
3 years ago
juicyenc
bfd058ef20
更改race conditon的翻译
3 years ago
juicyenc
3c4a7a5ee5
更改channel的翻译
3 years ago
云与原
379ea2de6f
Update ch10-02-traits.md
3 years ago
raygift
34ee9f11d3
update to ch10-02
...
修正声明trait 为pub 的描述
3 years ago
金晖
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
3 years ago
nb5p
6cf2b8539e
fix typo
3 years ago
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!
> 翻译:这个模块树可能会令你想起电脑上文件系统的目录树;这是一个非常恰当的比喻!
“比喻”一词改为“类比”是不是更准确一些?
3 years ago
KaiserY
b9a9911c2e
update ch11-01 close #592
3 years ago
KaiserY
c4a93b80c1
update ch09-02 close #590
3 years ago
tomoat
c91ee75d96
Update ch05-01-defining-structs.md
3 years ago
XMLHexagram
aa48c293b1
fix(typo): `custom data types` => `自定义数据类型`
3 years ago
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!");
}
```
3 years ago
KaiserY
6983d4e013
fix minted
3 years ago
AtomAlpaca
f2002a0445
fix ch02-00
3 years ago
KaiserY
91c7d02376
update to appendix-07
3 years ago
KaiserY
61292d1711
update to ch19-06
3 years ago
KaiserY
d7b0fa8065
update to ch18-03
3 years ago
KaiserY
5b156454d8
update to ch17-03
3 years ago
KaiserY
6493652a3b
update to ch16-04
3 years ago
KaiserY
946f5d5fc0
update to ch15-06
3 years ago
KaiserY
be4f7e7281
update to ch14-05
3 years ago
KaiserY
0635f02553
update to ch13-04
3 years ago
KaiserY
324244de9b
update to ch12-06
3 years ago
KaiserY
7e44e87a77
update to ch11-03
3 years ago
KaiserY
eaec47a9ed
update to ch10-03
3 years ago
KaiserY
95a46e3bb8
update to ch09-03
3 years ago
manbucy
131256699c
Update appendix-02-operators.md
...
`%` 取模--> 取余
3 years ago
KaiserY
f625094908
update to ch08-03
3 years ago
KaiserY
4b0a9c80b2
update to ch07-05
3 years ago
KaiserY
f1b94ab927
update to ch06-03
3 years ago
KaiserY
7f827e9fab
update to ch05-03
3 years ago
KaiserY
b1a0ca6e85
update to ch04-02
3 years ago
KaiserY
23278a0c39
update to ch03-05
3 years ago
KaiserY
951f1df20b
Merge branch 'master' into main
3 years ago
KaiserY
956996e0e8
add listings code && update to ch02-00
3 years ago
tanliwei
4343fff9c8
fix a typo
...
fix a typo
3 years ago
Liming Jin
54b2342e85
update appendix-04: replace rls to rust-analyzer
3 years ago
KaiserY
a62de9ef02
Merge pull request #579 from mnixry/patch-1
...
Fix some untranslated `Filename:`
3 years ago
Mix
95c930ba95
fix some untranslated `Filename:`
3 years ago
Liming Jin
4024a81432
update ch05-03
3 years ago
KaiserY
397642d565
Merge pull request #577 from jinliming2/update-ch05-02
...
update ch05-02
3 years ago
Liming Jin
871911b4a2
update ch05-02
3 years ago
Sefank
3188f7a784
Update title-page.md to V2021-12-24
...
Signed-off-by: Sefank <12670778+Sefank@users.noreply.github.com>
3 years ago
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 强制转换并没有运行时损耗!
3 years ago
makisevon
317b7ab3be
fix: tiny mistakes
3 years ago
kyle
f5045a2147
fixed typo
...
fixed typo
3 years ago
KaiserY
fc425b84f0
update ch05-01 fix typo
3 years ago
KaiserY
f8d9ba1dc2
update ch05-02 close #571
3 years ago
KaiserY
38585e1621
update ch05-01 close #570
3 years ago
Vanilla
6d4849235b
[F] ch05-03-method-syntax.md: Typo "他" -> "它".
3 years ago
MacTavish Lee
63d11a44c6
Update ch03-01-variables-and-mutability.md
...
翻译较为生硬,用`但`阅读起来并不通顺,这里的意思是改变类型还能继续用这个变量名,用`并且`更为合适。
3 years ago
Rawlence
d6bb9b4c5e
update ch-03-03-how-functions-work
3 years ago
Rawlence
f55b036d47
update ch03-02-data-type
3 years ago
Rawlence
7a7630e086
update ch03-01-variables-and-mutability
3 years ago
Rawlence
f22d7d9d96
update to the latest document(2021-12-05)
3 years ago
KaiserY
9b9406500f
Merge pull request #564 from sihuan/main
...
update ch06-02-match.md
3 years ago
SiHuan
f421a2a4ed
update ch06-02-match.md
3 years ago
boholder
7352dade75
Optimize confusing descriptions in ch17-03-oo-design-patterns.md
3 years ago
ardxwe
fc984cccf4
update comments
3 years ago
AiHao
dbd823ccd2
chore: fix the redundant field interpretation
3 years ago
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`).
3 years ago
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.
3 years ago
kalasutra
9b39aa307b
修复示例代码中的语法错误
3 years ago
renxinxie
97dee7c164
fix some typo
3 years ago
liuyanjie
7465d603ba
Update ch05-01-defining-structs.md
...
修复5.1章节拼写错误 : `...user1` -> `..user1`
3 years ago
Bryan Lee
955bb7cdd3
docs: update the Chapter 5 and improve some of the wording
3 years ago
Bryan Lee
56632d1942
docs: update the Chapter 4 and improve some of the wording
3 years ago
KaiserY
834e1c28cf
update ch15-06 close #546
3 years ago
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;`.
3 years ago
Annlix
828f7fa416
Fixed an error in ch03-05-control-flow
...
At line 286, the loop label is `counting_up`, not `counting_ up`
3 years ago
Annlix
0b56c7e876
Fixed an error in ch03-01
...
Fixed an error in ch03-01
3 years ago
Sprite
a67a9daa6b
Fix listing ids
3 years ago
Sprite
a317ca4f5f
Improve translation grammar in the chapter 19-4
3 years ago
Sprite
dfb5d8fa25
Remove a duplicate word
3 years ago
Sprite
c7d036e02f
Fix a typo
3 years ago
Nicholas Zhan
6d9a9968b1
纠正 ISSUE#547 描述的翻译错误
3 years ago
sai0556
de9b29ad1c
示例代码缺失
...
示例20-9,20-7缺少Content-Length
3 years ago
KaiserY
b7aeabd042
Merge pull request #544 from Orefa/master
...
修改过程宏的翻译
3 years ago
KaiserY
64ebac2d4e
Merge pull request #543 from showerMuggle/patch-1
...
删除重复段落
3 years ago
KaiserY
8cd62b28cb
Merge pull request #542 from LiuYinCarl/main
...
修复部分19章错误及语法问题
3 years ago
Orefa
c07e78acdc
更改过程宏的翻译
3 years ago
shower
2fcbb5b865
删除重复段落
3 years ago
LiuYinCarl
6e87e7ee60
修复部分19章错误及语法问题
3 years ago
Orefa
cdc4aff79b
Merge branch 'KaiserY:main' into master
3 years ago
Orefa
f1daab41ba
fix anchor
3 years ago
LiuYinCarl
acc9b9b586
Merge remote-tracking branch 'upstream/main' into main
3 years ago
LiuYinCarl
2939ddb01b
修复18章部分错误及调整部分翻译
3 years ago
KaiserY
8c0eb32d86
Merge pull request #539 from LiuYinCarl/main
...
修复目录与标题不一致
3 years ago
LiuYinCarl
d141d7935a
修复目录与标题不一致
3 years ago
Orefa
796a574366
fix anchor
3 years ago
LiuYinCarl
ba961370a7
对照英文原文,修改计算 enum 占用内存大小的说明
3 years ago
skiy
981e46b7f5
docs: update ch10-00-generics.md
3 years ago
Brayn Lee
7e368ea706
docs: update the Chapter 3 and improve some of the wording
3 years ago
Orefa
b2c7139c78
Update ch18-03-pattern-syntax.md
...
fix anchor
3 years ago
Sprite
eb04a192d1
Correct a translation error
3 years ago
Sprite
cc21e28e95
Improve translation grammar
3 years ago
KaiserY
649b16f0c2
Merge pull request #528 from SpriteOvO/patch-2
...
Improve translation grammar
3 years ago
KaiserY
f99e58e90a
Merge pull request #529 from SpriteOvO/patch-3
...
Improve translation grammar
3 years ago
Sprite
114d46a442
Improve translation grammar
3 years ago
Sprite
2b98e71295
Fix a minor formatting mistake
3 years ago
Sprite
16674d1686
Improve translation grammar
3 years ago
Sprite
d2c853aa0e
Fix typo and improve grammar
3 years ago
Brayn Lee
38c23ae5d8
docs: update ch02-00-guessing-game-tutorial.md
3 years ago
Brayn Lee
8f72942aff
docs: remove unsafe Ferris designations from code
3 years ago
Brayn Lee
2c79387d0b
docs: update ch00 and ch01 sections
3 years ago
杨坚强
c423db8364
更正翻译错误
3 years ago
xBLACKICEx
98c8e34b48
Update ch03-05-control-flow.md
...
改一下拼写错误
3 years ago
xBLACKICEx
91eef35b44
更改翻译语语句是的更通顺
3 years ago
KaiserY
8a87fcf074
update ch02-00 close #521
3 years ago
Enki-y
1af9d4d921
Update foreword.md
3 years ago
KaiserY
3c9643b30b
update ch18-00 close #519
3 years ago
KaiserY
a737fe8fe1
update Deref Coercion, close #508
3 years ago
KaiserY
b6c8485976
update img
3 years ago
Jorge
ea3622dfb0
Fix 2 typos: "它人" -> "他人"
3 years ago
Jorge
2401ab6364
Fix a typo: "改" -> "该"
3 years ago
Jorge
efcc26fab2
Fix rand's version: 0.5.6 -> 0.8.4
3 years ago
王嘉欣
3c18c9371e
fix code error
3 years ago
Jchaokai
611ba5b95a
Update ch02-00-guessing-game-tutorial.md
3 years ago
iamwhcn
cf9ce76876
更新原文链接
4 years ago
Hao Wang
cecb8a1e76
更新原文链接
4 years ago
Hao Wang
dac25e0f76
更新示例 16-11的代码
4 years ago
dirtmelon
b12c748c36
Update ch02-00-guessing-game-tutorial.md
4 years ago
Suven
254cbaa607
Update ch06-02-match.md
...
Delete duplicate content
4 years ago
KaiserY
e4143bd47e
update ch02-00 close #505
4 years ago
guo
dd5556f7cf
Update ch13-02-iterators.md
...
修改错别字
4 years ago
KaiserY
0405079c5d
Merge pull request #502 from zhibinr/patch-2
...
修正链接
4 years ago
KaiserY
5263eee616
Merge pull request #503 from zhibinr/patch-3
...
ch19-06, 改进翻译
4 years ago
zhibinr
54ec8bb473
Update ch19-06-macros.md
4 years ago
zhibinr
42bc09040e
改进翻译
4 years ago
zhibinr
cd771fedb7
改进”In a moment"的翻译
4 years ago
zhibinr
0251fe4543
修正链接
4 years ago
zhibinr
7f7b2bc82e
修正引用的示例编号
4 years ago
Tony Zhou
3474c55909
Update ch11-03-test-organization.md
...
原翻译语义不清
4 years ago
KaiserY
4ded248e2b
update appendix-01 fix #499
4 years ago
guo
963bd09920
Update ch06-01-defining-an-enum.md
4 years ago
KaiserY
fdf1ea90da
update ch19-06 close #497
4 years ago
KaiserY
743ba2472d
update ch19-03 close #496
4 years ago
TheVoid
278ff07f75
fix typo
4 years ago
yuhao1229
e120717ba3
Update ch13-02-iterators.md
...
项的序列 -> 序列的项
4 years ago
Zehua Zou
f6fe40b11b
Update ch20-03-graceful-shutdown-and-cleanup.md
4 years ago
Zehua Zou
5f225daae8
Update ch20-01-single-threaded.md
4 years ago