Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Emma Li <[email protected]>
  • Loading branch information
henrif75 and emmali01 authored Jan 20, 2024
1 parent d4afa48 commit f230465
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions po/zh-CN.po
Original file line number Diff line number Diff line change
Expand Up @@ -7033,7 +7033,7 @@ msgstr "运行时通过自动内存管理实现完全安全:Java、Python、Go
msgid ""
"A runtime system ensures that memory is not freed until it can no longer be "
"referenced."
msgstr "运行时系统可确保在无法引用内存时,不会释放该内存。"
msgstr "运行时系统可确保在内存无法被引用之前,不会释放该内存。"

#: src/memory-management/approaches.md:13
msgid ""
Expand Down Expand Up @@ -7088,7 +7088,7 @@ msgid ""
"GC has a runtime cost and is difficult to tune properly."
msgstr ""
"Java、Go 和 Python 依赖垃圾回收器来识别无法再访问的内存并将其舍弃。这保证可对"
"所有指针进行解引用操作,从而消除了释放后使用等各类 bug但是,垃圾回收 (GC) 会"
"所有指针进行解引用操作,从而消除了释放后使用等各类 bug。但是,垃圾回收 (GC) 会"
"产生运行时成本,并且很难进行适当调优。"

#: src/memory-management/approaches.md:41
Expand Down Expand Up @@ -7142,7 +7142,7 @@ msgstr "赋值操作将在变量之间转移所有权:"
#: src/memory-management/move.md:7
#, fuzzy
msgid "\"Hello!\""
msgstr "b\"hello\""
msgstr "b\"Hello!\""

#: src/memory-management/move.md:9 src/slices-and-lifetimes/str.md:16
#: src/slices-and-lifetimes/str.md:18
Expand Down Expand Up @@ -7199,7 +7199,7 @@ msgid ""
"```"
msgstr ""
"```bob\n"
" Stack Heap\n"
" \n"
".- - - - - - - - - - - - -. .- - - - - - - - - - - - - - - - - - - - - - "
"-.\n"
": : : :\n"
Expand Down Expand Up @@ -7374,7 +7374,7 @@ msgstr "克隆"
msgid ""
"Sometimes you _want_ to make a copy of a value. The `Clone` trait "
"accomplishes this."
msgstr "有时,_如需_ 复制某个值。`Clone` trait 可以完成此操作。"
msgstr "有时,_如需_ 复制某个值。`Clone` 特征 可以完成此操作。"

#: src/memory-management/clone.md:23
msgid ""
Expand Down Expand Up @@ -7734,7 +7734,7 @@ msgid ""
"```"
msgstr ""
"```bob\n"
" Stack Heap\n"
" \n"
".- - - - - - - - - - - - -. .- - - - - - - - - - - - - - - - - - - - - - "
"- -.\n"
": : : :\n"
Expand Down Expand Up @@ -7836,7 +7836,7 @@ msgid ""
"```"
msgstr ""
"```bob\n"
" Stack Heap\n"
" \n"
".- - - - - - - - - - - - -. .- - - - - - - - - - - - - - - - - - - - - - "
"- -.\n"
": : : :\n"
Expand Down Expand Up @@ -8679,7 +8679,7 @@ msgstr ""
msgid ""
"What remains for you is to implement the `parse_field` function and the "
"`ProtoMessage` trait for `Person` and `PhoneNumber`."
msgstr "您要做的是实现 `parse_field` 函数。"
msgstr "您要做的是实现 `parse_field` 函数,以及`Person` 和 `PhoneNumber`的特征`ProtoMessage`。"

#: src/slices-and-lifetimes/exercise.md:49
#: src/slices-and-lifetimes/solution.md:11
Expand Down

0 comments on commit f230465

Please sign in to comment.