KaiserY
8e1b703009
Merge pull request #594 from nb5p/patch-1
...
fix typo
2022-03-12 20:43:54 +08:00
nb5p
6cf2b8539e
fix typo
2022-03-12 16:13:56 +08:00
KaiserY
780ef752e6
Merge pull request #593 from qwinsi/patch-1
...
ch07-02措辞:“比喻” --> “类比”
2022-03-04 18:52:31 +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
KaiserY
9a10283aa7
Merge pull request #589 from nestfiy/main
...
Update ch05-01-defining-structs.md
2022-02-21 14:55:12 +08:00
tomoat
c91ee75d96
Update ch05-01-defining-structs.md
2022-02-21 14:52:47 +08:00
KaiserY
cebd875ce9
Merge pull request #588 from XMLHexagram/patch-1
...
fix(typo): `custom data types` => `自定义数据类型`
2022-02-20 15:57:55 +08:00
XMLHexagram
aa48c293b1
fix(typo): custom data types
=> 自定义数据类型
2022-02-20 15:03:03 +08:00
KaiserY
aad2b24386
Update README.md
2022-02-20 13:24:34 +08:00
KaiserY
dfd8f282f5
fix actions
2022-02-19 17:55:04 +08:00
KaiserY
a855fe123a
fix actions
2022-02-19 17:47:59 +08:00
KaiserY
28032c6607
fix actions
2022-02-19 17:40:30 +08:00
KaiserY
d4528e071a
fix actions
2022-02-19 17:20:46 +08:00
KaiserY
c385a728f6
fix actions
2022-02-19 17:15:04 +08:00
KaiserY
3d7be519d9
Update main.yml
2022-02-19 17:12:12 +08:00
KaiserY
5f0442a630
wip add pdf output
2022-02-19 17:08:39 +08:00
KaiserY
7cd5bf3a41
Merge pull request #587 from Live4dreamCH/patch-1
...
PR:修改7.4中pub use部分的表述
2022-02-17 22:53:43 +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
KaiserY
37a0a252eb
Merge pull request #586 from AtomAlpaca/main
...
fix ch02-00
2022-02-14 19:20:21 +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
a059d1cf7e
Merge pull request #585 from tanliwei/patch-2
...
fix a typo
2022-02-09 15:20:41 +08:00
tanliwei
af1768d9f2
fix a typo
...
fix a typo
2022-02-09 14:56:11 +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
KaiserY
04370b76d3
Merge pull request #584 from manbucy/main
...
Update appendix-02-operators.md
2022-02-07 16:38:59 +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
881c440e8b
Merge branch 'main' of https://github.com/KaiserY/trpl-zh-cn into main
2022-02-06 17:00:24 +08:00
KaiserY
951f1df20b
Merge branch 'master' into main
2022-02-06 16:59:06 +08:00
KaiserY
66cece121e
Update main.yml
2022-02-06 16:46:31 +08:00
KaiserY
956996e0e8
add listings code && update to ch02-00
2022-02-06 16:43:51 +08:00
KaiserY
f5a85c1355
Merge pull request #581 from tanliwei/patch-1
...
fix a typo
2022-02-03 13:56:16 +08:00