Skip to content

Commit 95a7a74

Browse files
authored
Merge pull request #169 from kdnakt/translate-primitives-array
Translate untranslated lines in array.md
2 parents f980fe3 + baccc24 commit 95a7a74

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/primitives/array.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,10 @@ fn main() {
9191
}
9292
9393
// Out of bound indexing on array causes compile time error.
94-
// インデックスが範囲外のときはコンパイルエラー
94+
// 配列のインデックスが範囲外のときはコンパイルエラー
9595
//println!("{}", xs[5]);
9696
// Out of bound indexing on slice causes runtime error.
97+
// スライスのインデックスが範囲外のときはランタイムエラー
9798
//println!("{}", xs[..][5]);
9899
}
99100
```

0 commit comments

Comments
 (0)