Skip to content

Commit 78ecc15

Browse files
committed
Fix typo
1 parent 306bab6 commit 78ecc15

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

1.6/ja/book/raw-pointers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ your library, while exposing a safe interface for your users. For example, `*`
1414
pointers are allowed to alias, allowing them to be used to write
1515
shared-ownership types, and even thread-safe shared memory types (the `Rc<T>`
1616
and `Arc<T>` types are both implemented entirely in Rust). -->
17-
`*const T``*mut T` はRustにおいて「生ポインタ」と呼ばれます。時々、ある種ののライブラリを書く際に、あなたは何らかの理由でRustが行う安全性の保証を避けなければならないこともあります。このようなケースでは、ユーザに安全なインターフェースを提供しつつ、ライブラリの実装に生ポインタを使用できます。例えば、 `*` ポインタはエイリアスとして振る舞うこともできるので、所有権を共有する型を書くのに用いたり、スレッドセーフな共有メモリ型でさえも実装できます。( `Rc<T>``Arc<T>` 型は完全にRustのみで実装されています)
17+
`*const T``*mut T` はRustにおいて「生ポインタ」と呼ばれます。時々、ある種のライブラリを書く際に、あなたは何らかの理由でRustが行う安全性の保証を避けなければならないこともあります。このようなケースでは、ユーザに安全なインターフェースを提供しつつ、ライブラリの実装に生ポインタを使用できます。例えば、 `*` ポインタはエイリアスとして振る舞うこともできるので、所有権を共有する型を書くのに用いたり、スレッドセーフな共有メモリ型でさえも実装できます。( `Rc<T>``Arc<T>` 型は完全にRustのみで実装されています)
1818

1919
<!-- Here are some things to remember about raw pointers that are different than
2020
other pointer types. They: -->

1.9/ja/book/raw-pointers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ your library, while exposing a safe interface for your users. For example, `*`
1414
pointers are allowed to alias, allowing them to be used to write
1515
shared-ownership types, and even thread-safe shared memory types (the `Rc<T>`
1616
and `Arc<T>` types are both implemented entirely in Rust). -->
17-
`*const T``*mut T` はRustにおいて「生ポインタ」と呼ばれます。時々、ある種ののライブラリを書く際に、あなたは何らかの理由でRustが行う安全性の保証を避けなければならないこともあります。このようなケースでは、ユーザに安全なインターフェースを提供しつつ、ライブラリの実装に生ポインタを使用できます。例えば、 `*` ポインタはエイリアスとして振る舞うこともできるので、所有権を共有する型を書くのに用いたり、スレッドセーフな共有メモリ型でさえも実装できます。( `Rc<T>``Arc<T>` 型は完全にRustのみで実装されています)
17+
`*const T``*mut T` はRustにおいて「生ポインタ」と呼ばれます。時々、ある種のライブラリを書く際に、あなたは何らかの理由でRustが行う安全性の保証を避けなければならないこともあります。このようなケースでは、ユーザに安全なインターフェースを提供しつつ、ライブラリの実装に生ポインタを使用できます。例えば、 `*` ポインタはエイリアスとして振る舞うこともできるので、所有権を共有する型を書くのに用いたり、スレッドセーフな共有メモリ型でさえも実装できます。( `Rc<T>``Arc<T>` 型は完全にRustのみで実装されています)
1818

1919
<!-- Here are some things to remember about raw pointers that are different than
2020
other pointer types. They: -->

0 commit comments

Comments
 (0)