与原文不同,疑似翻译不准确

原文地址:https://github.com/rust-lang/book/blob/main/src/ch03-02-data-types.md
原文:`An array is a single chunk of memory of a known, fixed size that can be allocated on the stack.`

把 `stack` 翻译成了 `堆栈` 应该翻译成 `栈` 这样更严谨一些
pull/643/head
kkoang 2 years ago committed by GitHub
parent 98be6b0a5b
commit 67bfef6fba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -197,7 +197,7 @@ let a = [3; 5];
##### 访问数组元素
数组是可以在栈上分配的已知固定大小的单个内存块。可以使用索引来访问数组的元素,像这样:
数组是可以在栈(stack)上分配的已知固定大小的单个内存块。可以使用索引来访问数组的元素,像这样:
<span class="filename">文件名: src/main.rs</span>

Loading…
Cancel
Save