File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -12714,7 +12714,7 @@ msgid ""
1271412714"heap is freed."
1271512715msgstr ""
1271612716"在 Rust 中,所有值默认都是栈分配的。通过创建 `Box<T>`,可以将值**装箱**(在堆上分配)。"
12717- "Box 是指向堆分配的 `T` 类型值的智能指针。当 box 离开作用域时,会调用其析构函数,"
12717+ "Box 是指向堆分配的 `T` 类型值的智能指针。当 Box 离开作用域时,会调用其析构函数,"
1271812718"内部对象被销毁,堆上的内存被释放。"
1271912719
1272012720#: src/std/box.md:8
@@ -12898,7 +12898,7 @@ msgid ""
1289812898" // count is enumerated in a separate variable (`i`)\n"
1289912899msgstr ""
1290012900"// 遍历 `Vector` 时,可以同时用一个单独的变量(`i`)\n"
12901- "// 来枚举迭代计数\n"
12901+ " // 来枚举迭代计数\n"
1290212902
1290312903#: src/std/vec.md:55
1290412904msgid "\"In position {} we have value {}\""
@@ -12910,7 +12910,7 @@ msgid ""
1291012910" // over in a way that allows modifying each value\n"
1291112911msgstr ""
1291212912"// 借助 `iter_mut`,可变的 `Vector` 也可以被遍历,\n"
12913- "// 并且允许修改每个值\n"
12913+ " // 并且允许修改每个值\n"
1291412914
1291512915#: src/std/vec.md:63
1291612916msgid "\"Updated vector: {:?}\""
@@ -13966,15 +13966,13 @@ msgid ""
1396613966" // reference in the memory heap.\n"
1396713967msgstr ""
1396813968"// 这里没有指定值,因为它是指向堆内存中引用的指针。\n"
13969- " // \n"
1397013969
1397113970#: src/std/arc.md:24
1397213971msgid ""
1397313972"// As Arc was used, threads can be spawned using the value allocated\n"
1397413973" // in the Arc variable pointer's location.\n"
1397513974msgstr ""
1397613975"// 由于使用了 Arc,可以使用 Arc 变量指针所指向的值来生成线程。\n"
13977- " // \n"
1397813976
1397913977#: src/std/arc.md:30
1398013978msgid "// Make sure all Arc instances are printed from spawned threads.\n"
You can’t perform that action at this time.
0 commit comments