Skip to content

Commit db49c0f

Browse files
committed
fix
1 parent e60f86f commit db49c0f

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

docs/print.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,8 @@ <h1 class="menu-title"></h1>
311311
compiler can't check, and to declare that the adherence of some code to
312312
those contracts has been checked by the programmer.
313313
-->
314-
`unsafe` は 2 つの目的に使われます。コンパイラがチェックできない契約が存在する事を宣言することと、
315-
コードが契約に準拠していることがプログラマによってチェックされた事を宣言する事です。
314+
<p><code>unsafe</code> は 2 つの目的に使われます。コンパイラがチェックできない契約が存在する事を宣言することと、
315+
コードが契約に準拠していることがプログラマによってチェックされた事を宣言する事です。</p>
316316
<!--
317317
You can use `unsafe` to indicate the existence of unchecked contracts on
318318
_functions_ and on _trait declarations_. On functions, `unsafe` means that
@@ -322,10 +322,10 @@ <h1 class="menu-title"></h1>
322322
trait must check the trait documentation to ensure their implementation
323323
maintains the contracts the trait requires.
324324
-->
325-
_関数__trait の宣言_ に未チェックな契約が存在する事を、`unsafe` を使って示すことができます。
326-
関数に `unsafe` を使うと、ドキュメントを読んで、
325+
<p><em>関数</em><em>trait の宣言</em> に未チェックな契約が存在する事を、<code>unsafe</code> を使って示すことができます。
326+
関数に <code>unsafe</code> を使うと、ドキュメントを読んで、
327327
要求された契約を守るように関数を使うことを、その関数のユーザーに要請することになります。
328-
trait の宣言に `unsafe` を使うと、その trait を実装するユーザーに対し、ドキュメントをチェックして契約を守るよう要請します。
328+
trait の宣言に <code>unsafe</code> を使うと、その trait を実装するユーザーに対し、ドキュメントをチェックして契約を守るよう要請します。</p>
329329
<!--
330330
You can use `unsafe` on a block to declare that all constraints required
331331
by an unsafe function within the block have been adhered to, and the code

docs/safe-unsafe-meaning.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ <h1 class="menu-title"></h1>
8383
compiler can't check, and to declare that the adherence of some code to
8484
those contracts has been checked by the programmer.
8585
-->
86-
`unsafe` は 2 つの目的に使われます。コンパイラがチェックできない契約が存在する事を宣言することと、
87-
コードが契約に準拠していることがプログラマによってチェックされた事を宣言する事です。
86+
<p><code>unsafe</code> は 2 つの目的に使われます。コンパイラがチェックできない契約が存在する事を宣言することと、
87+
コードが契約に準拠していることがプログラマによってチェックされた事を宣言する事です。</p>
8888
<!--
8989
You can use `unsafe` to indicate the existence of unchecked contracts on
9090
_functions_ and on _trait declarations_. On functions, `unsafe` means that
@@ -94,10 +94,10 @@ <h1 class="menu-title"></h1>
9494
trait must check the trait documentation to ensure their implementation
9595
maintains the contracts the trait requires.
9696
-->
97-
_関数__trait の宣言_ に未チェックな契約が存在する事を、`unsafe` を使って示すことができます。
98-
関数に `unsafe` を使うと、ドキュメントを読んで、
97+
<p><em>関数</em><em>trait の宣言</em> に未チェックな契約が存在する事を、<code>unsafe</code> を使って示すことができます。
98+
関数に <code>unsafe</code> を使うと、ドキュメントを読んで、
9999
要求された契約を守るように関数を使うことを、その関数のユーザーに要請することになります。
100-
trait の宣言に `unsafe` を使うと、その trait を実装するユーザーに対し、ドキュメントをチェックして契約を守るよう要請します。
100+
trait の宣言に <code>unsafe</code> を使うと、その trait を実装するユーザーに対し、ドキュメントをチェックして契約を守るよう要請します。</p>
101101
<!--
102102
You can use `unsafe` on a block to declare that all constraints required
103103
by an unsafe function within the block have been adhered to, and the code

src/safe-unsafe-meaning.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ The `unsafe` keyword has two uses: to declare the existence of contracts the
2020
compiler can't check, and to declare that the adherence of some code to
2121
those contracts has been checked by the programmer.
2222
-->
23+
2324
`unsafe` は 2 つの目的に使われます。コンパイラがチェックできない契約が存在する事を宣言することと、
2425
コードが契約に準拠していることがプログラマによってチェックされた事を宣言する事です。
2526

@@ -32,6 +33,7 @@ requires. On trait declarations, `unsafe` means that implementors of the
3233
trait must check the trait documentation to ensure their implementation
3334
maintains the contracts the trait requires.
3435
-->
36+
3537
_関数__trait の宣言_ に未チェックな契約が存在する事を、`unsafe` を使って示すことができます。
3638
関数に `unsafe` を使うと、ドキュメントを読んで、
3739
要求された契約を守るように関数を使うことを、その関数のユーザーに要請することになります。

0 commit comments

Comments
 (0)