Skip to content

Commit 60cf7bf

Browse files
committed
Cosmetic changes on the translation of Generics (1.9).
1 parent 69b95ca commit 60cf7bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

1.9/ja/book/generics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Rustでは、ジェネリクスを用いてこれを実現しています。
1414
<!-- Anyway, enough type theory, let’s check out some generic code. Rust’s -->
1515
<!-- standard library provides a type, `Option<T>`, that’s generic: -->
1616
さて、型理論はもう十分です。
17-
続いてジェネリックなコードを幾つか見ていきましょう
17+
続いてジェネリックなコードをいくつか見ていきましょう
1818
Rustが標準ライブラリで提供している型 `Option<T>` はジェネリックです。
1919

2020
```rust
@@ -66,7 +66,7 @@ let y: Option<f64> = Some(5.0f64);
6666

6767
<!-- This is just fine. One definition, multiple uses. -->
6868
これだけで結構です。
69-
1つの定義で、多くの用途が得られます
69+
1つの定義で、多くの用途に対応できます
7070

7171
<!-- Generics don’t have to only be generic over one type. Consider another type from Rust’s standard library that’s similar, `Result<T, E>`: -->
7272
ジェネリクスにおいてジェネリックな型は1つまで、といった制限はありません。

0 commit comments

Comments
 (0)