Skip to content

Commit 65f068e

Browse files
authored
Merge pull request #171 from msakai/fix-ch19-01-deref
ch19-01: unsafeブロック内での生ポインタの参照外しの説明の翻訳の修正
2 parents faf4609 + c033ece commit 65f068e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ch19-01-unsafe-rust.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ Creating a pointer does no harm; it’s only when we try to access the value tha
283283
it points at that we might end up dealing with an invalid value.
284284
-->
285285

286-
ポインタの生成は害を及ぼしません; 無効な値を扱うことに落ち着く可能性のあるポインタが指している値にアクセスしようとする時のみです
286+
ポインタの生成は害を及ぼしません; 問題が起こり得るのはポインタが指している値にアクセスしようとするときのみで、この際に無効な値を扱うことになる可能性があります
287287

288288
<!--
289289
Note also that in Listing 19-1 and 19-3, we created `*const i32` and `*mut i32`

0 commit comments

Comments
 (0)