File tree 1 file changed +3
-5
lines changed
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -12714,7 +12714,7 @@ msgid ""
12714
12714
"heap is freed."
12715
12715
msgstr ""
12716
12716
"在 Rust 中,所有值默认都是栈分配的。通过创建 `Box<T>`,可以将值**装箱**(在堆上分配)。"
12717
- "Box 是指向堆分配的 `T` 类型值的智能指针。当 box 离开作用域时,会调用其析构函数,"
12717
+ "Box 是指向堆分配的 `T` 类型值的智能指针。当 Box 离开作用域时,会调用其析构函数,"
12718
12718
"内部对象被销毁,堆上的内存被释放。"
12719
12719
12720
12720
#: src/std/box.md:8
@@ -12898,7 +12898,7 @@ msgid ""
12898
12898
" // count is enumerated in a separate variable (`i`)\n"
12899
12899
msgstr ""
12900
12900
"// 遍历 `Vector` 时,可以同时用一个单独的变量(`i`)\n"
12901
- "// 来枚举迭代计数\n"
12901
+ " // 来枚举迭代计数\n"
12902
12902
12903
12903
#: src/std/vec.md:55
12904
12904
msgid "\"In position {} we have value {}\""
@@ -12910,7 +12910,7 @@ msgid ""
12910
12910
" // over in a way that allows modifying each value\n"
12911
12911
msgstr ""
12912
12912
"// 借助 `iter_mut`,可变的 `Vector` 也可以被遍历,\n"
12913
- "// 并且允许修改每个值\n"
12913
+ " // 并且允许修改每个值\n"
12914
12914
12915
12915
#: src/std/vec.md:63
12916
12916
msgid "\"Updated vector: {:?}\""
@@ -13966,15 +13966,13 @@ msgid ""
13966
13966
" // reference in the memory heap.\n"
13967
13967
msgstr ""
13968
13968
"// 这里没有指定值,因为它是指向堆内存中引用的指针。\n"
13969
- " // \n"
13970
13969
13971
13970
#: src/std/arc.md:24
13972
13971
msgid ""
13973
13972
"// As Arc was used, threads can be spawned using the value allocated\n"
13974
13973
" // in the Arc variable pointer's location.\n"
13975
13974
msgstr ""
13976
13975
"// 由于使用了 Arc,可以使用 Arc 变量指针所指向的值来生成线程。\n"
13977
- " // \n"
13978
13976
13979
13977
#: src/std/arc.md:30
13980
13978
msgid "// Make sure all Arc instances are printed from spawned threads.\n"
You can’t perform that action at this time.
0 commit comments