Skip to content

Commit 856d8cd

Browse files
committed
ci: generate pages at a498b85 [ci skip]
1 parent a498b85 commit 856d8cd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/1.6/book/functions.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -555,12 +555,12 @@ <h2 id='早期リターン' class='section-header'><a href='#早期リターン'
555555

556556
<!--## Diverging functions-->
557557

558-
<h2 id='ダイバージング関数' class='section-header'><a href='#ダイバージング関数'>ダイバージング関数</a></h2>
558+
<h2 id='発散する関数' class='section-header'><a href='#発散する関数'>発散する関数</a></h2>
559559
<!--Rust has some special syntax for ‘diverging functions’, which are functions that-->
560560

561561
<!--do not return:-->
562562

563-
<p>Rustはリターンしない関数、「ダイバージング関数」のための特別な構文をいくつか持っています</p>
563+
<p>Rustには「発散する関数」、すなわち値を返さない関数のための特別な構文がいくつかあります</p>
564564

565565
<span class='rusttest'>fn main() {
566566
fn diverges() -&gt; ! {
@@ -581,7 +581,7 @@ <h2 id='ダイバージング関数' class='section-header'><a href='#ダイバ
581581

582582
<p><code>panic!</code> は既に見てきた <code>println!</code> と同様にマクロです。
583583
<code>println!</code> とは違って、 <code>panic!</code> は実行中の現在のスレッドを与えられたメッセージとともにクラッシュさせます。
584-
この関数はクラッシュを引き起こすので、決してリターンしません。そのため、それは「ダイバージ」と読む、<code>!</code>型を持つのです</p>
584+
この関数はクラッシュを引き起こすので、決して値を返しません。そのため、この関数は「 <code>!</code> 」型を持つのです。<code>!</code>は「発散する(diverges)」と読みます</p>
585585

586586
<!--If you add a main function that calls `diverges()` and run it, you’ll get-->
587587

@@ -641,7 +641,7 @@ <h2 id='ダイバージング関数' class='section-header'><a href='#ダイバ
641641

642642
<!--A diverging function can be used as any type:-->
643643

644-
<p>ダイバージング関数は任意の型として使うことができます</p>
644+
<p>発散する関数は任意の型としても使えます</p>
645645

646646
<span class='rusttest'>fn main() {
647647
fn diverges() -&gt; ! {

0 commit comments

Comments
 (0)