Skip to content

Commit

Permalink
Merge pull request #36 from ooooooo-q/patch-2
Browse files Browse the repository at this point in the history
Chapter 15.2 余分なRを削除
  • Loading branch information
hazama-yuinyan committed Oct 24, 2018
2 parents 3c75f92 + f65a849 commit 92e5cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion second-edition/src/ch15-02-deref.md
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ fn main() {
<!-- immutable references, you can use the `DerefMut` trait to override the `*` -->
<!-- operator on mutable references. -->

`Deref`トレイトを使用して不変参照に対して`*`をオーバーライドするように、R
`Deref`トレイトを使用して不変参照に対して`*`をオーバーライドするように、
`DerefMut`トレイトを使用して可変参照の`*`演算子をオーバーライドできます。

<!-- Rust does deref coercion when it finds types and trait implementations in three -->
Expand Down

0 comments on commit 92e5cef

Please sign in to comment.