Skip to content

4.19. Traits #54

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Feb 9, 2016
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions 1.6/ja/book/glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,13 @@ let z = (8, 2, 6);

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

### Bounds
<!-- ### Bounds -->
### 境界

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

[traits]: traits.html

Expand Down
Loading