Skip to content

Commit

Permalink
vi: fix renamed file scoped_threads.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vohoanglong0107 committed May 1, 2024
1 parent 48325a0 commit 0afbc98
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions po/vi.po
Original file line number Diff line number Diff line change
Expand Up @@ -1096,7 +1096,7 @@ msgstr ""
msgid "Threads"
msgstr ""

#: src/SUMMARY.md src/concurrency/scoped-threads.md
#: src/SUMMARY.md src/concurrency/threads/scoped.md
msgid "Scoped Threads"
msgstr ""

Expand Down Expand Up @@ -3629,7 +3629,7 @@ msgstr ""
msgid "/// Determine the length of the collatz sequence beginning at `n`.\n"
msgstr ""

#: src/control-flow-basics/solution.md src/concurrency/scoped-threads.md
#: src/control-flow-basics/solution.md src/concurrency/threads/scoped.md
msgid "\"Length: {}\""
msgstr ""

Expand Down Expand Up @@ -6044,7 +6044,7 @@ msgstr ""

#: src/std-types/string.md src/std-traits/read-and-write.md
#: src/memory-management/review.md src/testing/unit-tests.md
#: src/concurrency/scoped-threads.md
#: src/concurrency/threads/scoped.md
msgid "\"Hello\""
msgstr ""

Expand Down Expand Up @@ -17100,23 +17100,23 @@ msgstr ""
msgid "How do we avoid this? see next slide."
msgstr ""

#: src/concurrency/scoped-threads.md
#: src/concurrency/threads/scoped.md
msgid "Normal threads cannot borrow from their environment:"
msgstr ""

#: src/concurrency/scoped-threads.md
#: src/concurrency/threads/scoped.md
msgid ""
"However, you can use a [scoped thread](https://doc.rust-lang.org/std/thread/"
"fn.scope.html) for this:"
msgstr ""

#: src/concurrency/scoped-threads.md
#: src/concurrency/threads/scoped.md
msgid ""
"The reason for that is that when the `thread::scope` function completes, all "
"the threads are guaranteed to be joined, so they can return borrowed data."
msgstr ""

#: src/concurrency/scoped-threads.md
#: src/concurrency/threads/scoped.md
msgid ""
"Normal Rust borrowing rules apply: you can either borrow mutably by one "
"thread, or immutably by any number of threads."
Expand Down

0 comments on commit 0afbc98

Please sign in to comment.