Skip to content

Fix typo and inconsistent spelling #211

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 2 commits into from
Nov 21, 2016
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion 1.6/ja/book/deref-coercions.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<!-- The standard library provides a special trait, [`Deref`][deref]. It’s normally -->
<!-- used to overload `*`, the dereference operator: -->
標準ライブラリは特別なトレイト [`Dref`][deref] を提供します。
標準ライブラリは特別なトレイト [`Deref`][deref] を提供します。
`Deref` は通常、参照外し演算子 `*` をオーバーロードするために利用されます。

```rust
Expand Down
2 changes: 1 addition & 1 deletion 1.6/ja/book/trait-objects.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ Rustはガーベジコレクタによって管理される多くの言語とは
dependent crates may implement `Foo` (any number of bytes at all). There’s no
way to guarantee that this last point can work if the values are stored without
a pointer, because those other types can be arbitrarily large. -->
`Foo` のためには、 `String` (24 bytes)か `u8` (1 byte)もしくは `Foo` (とにかくどんなサイズでも)を実装する依存クレイト内の型のうちから少なくとも1つの値を格納する必要があります。ポインタ無しで値を保存した場合、その直後の動作が正しいかどうかを保証する方法がありません。型によって値のサイズが異なるからです。
`Foo` のためには、 `String` (24 bytes)か `u8` (1 byte)もしくは `Foo` (とにかくどんなサイズでも)を実装する依存クレート内の型のうちから少なくとも1つの値を格納する必要があります。ポインタ無しで値を保存した場合、その直後の動作が正しいかどうかを保証する方法がありません。型によって値のサイズが異なるからです。

<!-- Putting the value behind a pointer means the size of the value is not relevant
when we are tossing a trait object around, only the size of the pointer itself. -->
Expand Down
2 changes: 1 addition & 1 deletion 1.9/ja/book/deref-coercions.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<!-- The standard library provides a special trait, [`Deref`][deref]. It’s normally -->
<!-- used to overload `*`, the dereference operator: -->
標準ライブラリは特別なトレイト [`Dref`][deref] を提供します。
標準ライブラリは特別なトレイト [`Deref`][deref] を提供します。
`Deref` は通常、参照外し演算子 `*` をオーバーロードするために利用されます。

```rust
Expand Down
2 changes: 1 addition & 1 deletion 1.9/ja/book/trait-objects.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ Rustはガーベジコレクタによって管理される多くの言語とは
dependent crates may implement `Foo` (any number of bytes at all). There’s no
way to guarantee that this last point can work if the values are stored without
a pointer, because those other types can be arbitrarily large. -->
`Foo` のためには、 `String` (24 bytes)か `u8` (1 byte)もしくは `Foo` (とにかくどんなサイズでも)を実装する依存クレイト内の型のうちから少なくとも1つの値を格納する必要があります。ポインタ無しで値を保存した場合、その直後の動作が正しいかどうかを保証する方法がありません。型によって値のサイズが異なるからです。
`Foo` のためには、 `String` (24 bytes)か `u8` (1 byte)もしくは `Foo` (とにかくどんなサイズでも)を実装する依存クレート内の型のうちから少なくとも1つの値を格納する必要があります。ポインタ無しで値を保存した場合、その直後の動作が正しいかどうかを保証する方法がありません。型によって値のサイズが異なるからです。

<!-- Putting the value behind a pointer means the size of the value is not relevant
when we are tossing a trait object around, only the size of the pointer itself. -->
Expand Down