Skip to content

Commit cfa89af

Browse files
authored
Merge pull request #211 from zaneli/fix-typo
Fix typo and inconsistent spelling
2 parents e76c45a + 5d8839f commit cfa89af

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

1.6/ja/book/deref-coercions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

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

99
```rust

1.6/ja/book/trait-objects.md

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

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

1.9/ja/book/deref-coercions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

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

99
```rust

1.9/ja/book/trait-objects.md

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

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

0 commit comments

Comments
 (0)