Skip to content

Commit 2b5991a

Browse files
committed
事 -> こと
1 parent 66abde8 commit 2b5991a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1.6/ja/book/operators-and-overloading.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ impl<T> HasArea<T> for Square<T>
151151
<!-- itself takes an `Output` parameter: since we know that numbers don't change -->
152152
<!-- type when multiplied, we also set it to `T`. `T` must also support copying, so -->
153153
<!-- Rust doesn't try to move `self.side` into the return value. -->
154-
`area` メソッドは辺を掛ける事が可能なことを必要としています
154+
`area` メソッドは辺を掛けることが可能なことを必要としています
155155
そのため型 `T``std::ops::Mul` を実装していなければならないと宣言しています。
156156
上で説明した `Add` と同様に、`Mul``Output` パラメータを取ります: 数値を掛け算した時に型が変わらないことを知っていますので、 `Output``T` と設定します。
157157
また `T` は、Rustが `self.side` を返り値にムーブするのを試みないようにコピーをサポートしている必要があります。

0 commit comments

Comments
 (0)