Skip to content

Commit f661291

Browse files
committed
Merge pull request #54 from Nnwww/4_19_Traits
4.19. Traits
2 parents 0f226c2 + a2ed7f3 commit f661291

File tree

2 files changed

+150
-86
lines changed

2 files changed

+150
-86
lines changed

1.6/ja/book/glossary.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,13 @@ let z = (8, 2, 6);
3838

3939
In the example above `x` and `y` have arity 2. `z` has arity 3.
4040

41-
### Bounds
41+
<!-- ### Bounds -->
42+
### 境界
4243

43-
Bounds are constraints on a type or [trait][traits]. For example, if a bound
44+
<!-- Bounds are constraints on a type or [trait][traits]. For example, if a bound
4445
is placed on the argument a function takes, types passed to that function
45-
must abide by that constraint.
46+
must abide by that constraint. -->
47+
境界(Bounds)とはある1つの型または [トレイト][traits] における制約のことです。例えば、ある関数がとる引数に境界が設定されたとすると、その関数に渡される型は設定された制約に必ず従わなければなりません。
4648

4749
[traits]: traits.html
4850

0 commit comments

Comments
 (0)