We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 830b130 + 41885cc commit 6bdbacdCopy full SHA for 6bdbacd
src/ch10-02-traits.md
@@ -621,7 +621,7 @@ how to write a function with this behavior in the [“Using Trait Objects That
621
Allow for Values of Different
622
Types”][using-trait-objects-that-allow-for-values-of-different-types] section of Chapter 17.
623
-->
624
-`NewsArticle`か`Trait`を返すというのは、コンパイラの`impl Trait`構文の実装まわりの制約により許されていません。
+`NewsArticle`か`Tweet`を返すというのは、コンパイラの`impl Trait`構文の実装まわりの制約により許されていません。
625
このような振る舞いをする関数を書く方法は、17章の[トレイトオブジェクトで異なる型の値を許容する][using-trait-objects-that-allow-for-values-of-different-types]節で学びます。
626
627
<!--
0 commit comments