Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vi: fix renamed file scoped_threads.md #2041

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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