Skip to content

Commit d6abb4a

Browse files
committed
Translate a code comment
1 parent 0c84279 commit d6abb4a

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)