Skip to content

Commit 7da71aa

Browse files
authored
Merge pull request #45 from tatsuya6502/link-to-japanese-docs
Rustonomicon和訳版へのリンクを追加
2 parents 6e571bc + 88b93c5 commit 7da71aa

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

second-edition/src/ch00-00-introduction.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- -*- coding:utf-8-unix -*- -->
12
<!-- # Introduction -->
23

34
# 導入
@@ -313,7 +314,7 @@ Rustを学ぶ過程で重要な部分は、コンパイラが表示するエラ
313314

314315
この本が生成されるソースファイルは、[GitHub][book]で見つかります。
315316

316-
> 訳註: 日本語版は[こちら][book-ja]です。
317+
> 訳注: 日本語版は[こちら][book-ja]です。
317318
318319
[book]: https://github.com/rust-lang/book/tree/master/second-edition/src
319320
[book-ja]: https://github.com/rust-lang-ja/book-ja

second-edition/src/ch08-01-vectors.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- -*- coding:utf-8-unix -*- -->
12
<!-- ## Storing Lists of Values with Vectors -->
23

34
## ベクタで一連の値を保持する
@@ -304,6 +305,10 @@ error[E0502]: cannot borrow `v` as mutable because it is also borrowed as immuta
304305

305306
> 注釈: `Vec<T>`の実装に関する詳細については、[“The Rustonomicon”](https://doc.rust-lang.org/stable/nomicon/vec.html)を参照してください。
306307
308+
> 訳注: 日本語版のThe Rustonomiconは[こちら][nomicon-ja-vec]です。
309+
310+
[nomicon-ja-vec]: https://doc.rust-jp.rs/rust-nomicon-ja/vec.html
311+
307312
<!-- ### Iterating Over the Values in a Vector -->
308313

309314
### ベクタの値を走査する

second-edition/src/ch15-06-reference-cycles.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- -*- coding:utf-8-unix -*- -->
12
<!-- ## Reference Cycles Can Leak Memory -->
23

34
## 循環参照は、メモリをリークすることもある
@@ -705,7 +706,10 @@ fn main() {
705706
この章で興味をそそられ、独自のスマートポインタを実装したくなったら、もっと役に立つ情報を求めて、
706707
[“The Rustonomicon”][nomicon]をチェックしてください。
707708

709+
> 訳注: 日本語版のThe Rustonomiconは[こちら][nomicon-ja]です。
710+
708711
[nomicon]: https://doc.rust-lang.org/stable/nomicon/
712+
[nomicon-ja]: https://doc.rust-jp.rs/rust-nomicon-ja/index.html
709713

710714
<!-- Next, we’ll talk about concurrency in Rust. You’ll even learn about a few new -->
711715
<!-- smart pointers. -->

0 commit comments

Comments
 (0)