Skip to content

Commit 06e44cb

Browse files
committed
Translate a code comment
1 parent 7f5e87a commit 06e44cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/phantom-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Another important example is Vec, which is (approximately) defined as follows:
8383

8484
```
8585
struct Vec<T> {
86-
data: *const T, // *const for variance!
86+
data: *const T, // 変性を得るため *const です!
8787
len: usize,
8888
cap: usize,
8989
}

0 commit comments

Comments
 (0)