Skip to content

Commit 0d5c521

Browse files
author
Jun-ya Norimatsu
committed
Fix according to #33 (comment)
1 parent e2c2d3e commit 0d5c521

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

second-edition/src/ch19-04-advanced-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ fn bar() -> ! {
256256
<!-- so `bar` can never possibly return. -->
257257

258258
このコードは、「関数`bar`はneverを返す」と解読します。neverを返す関数は、*発散する関数*(diverging function)と呼ばれます。
259-
`!`の値は生成できないので、`bar`が有効値を返すことは決してできません
259+
`!`の値は生成できないので、`bar`からリターンする(呼び出し元に制御を戻す)ことは決してできません
260260

261261
<!-- But what use is a type you can never create values for? Recall the code from -->
262262
<!-- Listing 2-5; we’ve reproduced part of it here in Listing 19-34. -->

0 commit comments

Comments
 (0)