Skip to content

Commit 1e6ccf0

Browse files
committed
消し忘れた段落を削除
1 parent ee5f863 commit 1e6ccf0

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/ch09-02-recoverable-errors-with-result.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -956,16 +956,6 @@ allows the use of the `?` operator on `Result` values</span>
956956

957957
<span class="caption">リスト9-12: `Result<(), E>`を返すように`main`を変更することで、`Result`値に対する`?`演算子が使用可能になる</span>
958958

959-
<!--
960-
In functions that don’t return `Result`, when
961-
you call other functions that return `Result`, you’ll need to use a `match` or
962-
one of the `Result` methods to handle the `Result` instead of using the `?`
963-
operator to potentially propagate the error to the calling code.
964-
-->
965-
966-
`Result`を返さない関数では、`Result`を返す別の関数を呼び出した時、
967-
`?`演算子を使用してエラーを呼び出し元に委譲する可能性を生み出す代わりに、`match``Result`のメソッドのどれかを使う必要があるでしょう。
968-
969959
<!--
970960
The `Box<dyn Error>` type is a *trait object*, which we’ll talk about in the
971961
[“Using Trait Objects that Allow for Values of Different

0 commit comments

Comments
 (0)