1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-06-15 05:40:30 +02:00
Commit Graph

1069 Commits

Author SHA1 Message Date
b0ce243f86 load-wasm-module 2023-07-21 14:32:36 +02:00
b989324e95 WASM intro 2023-07-21 14:08:02 +02:00
964a0d6215 rust-wasm-template 2023-07-21 12:05:32 +02:00
e2038b4897 pt-BR: Catches up with latest PRs on the original EN text (#1008)
pt-BR: Catches up with latest PRs on the original
EN material
2023-07-21 09:39:37 +01:00
bb6fdeaa09 it: update translation (#974)
* Updating 'it' Translation

- MDBOOK_OUTPUT='{"xgettext": {"pot-file": "messages.pot"}}' \
    mdbook build -d po
- msgmerge --update po/it.po po/messages.pot

* it: summary

* it: welcome

* it: 'Running the Course'

* it: using cargo

* it: Day 1 - Morning

* it: Fix attempt to resolve errors for the PR integration:

PR run failed: Test, Attempt #2 - it: update translation (9496e96):
https://github.com/google/comprehensive-rust/actions/runs/5544681099

* Minor fixes validated with @detro for PR merge (#974)
2023-07-20 17:59:42 +01:00
bd4839e394 Refer to Godbolt (#1011)
* Refer to Godbolt

* Apply suggestions from code review

---------

Co-authored-by: Martin Geisler <martin@geisler.net>
2023-07-20 15:46:50 +00:00
7bd1bcc99f zh-TW: translate structs (#969)
* zh-TW: translate structs

Part of #684.

* zh-TW: Apply suggestion to speaker notes about newtypes.

* zh-TW: Apply suggestion to speaker notes about newtypes.

---------

Co-authored-by: Jonathan Hao <phao@google.com>
2023-07-19 21:46:41 -07:00
2cdbd933f6 zh-TW: translate unsafe (#966)
* zh-TW: translate unsafe

Part of #684.

* zh-TW: Update "read and write"

---------

Co-authored-by: Jonathan Hao <phao@google.com>
2023-07-19 21:45:41 -07:00
e33ed49d74 zh-CN: translation for src/basic-syntax/string-slices.md (#767) 2023-07-19 12:52:42 -04:00
c83d164233 zh-TW: translate testing (#972)
* zh-TW: translate testing

Part of #684.

* zh-TW: Apply suggestion on proptest description

---------

Co-authored-by: Jonathan Hao <phao@google.com>
2023-07-19 15:58:39 +00:00
86208e4435 ja: Translate chapter 46&47 (Threads) (#981)
* ja: first draft of Ch. 46&47, google#652

* ja: reflect review by @keiichiw, Ch. 46&47 google#652
2023-07-19 23:47:42 +09:00
a11d3afe8c zh-CN: translate testing (#970)
Part of #324.
2023-07-19 09:29:42 +02:00
b8005ee37a de: Translation until chapter 9.1 (#980)
* reformated de.po

* Apply suggestions from code review

Co-authored-by: ronaldfw <wotzlaw@gmail.com>

---------

Co-authored-by: ronaldfw <wotzlaw@gmail.com>
2023-07-18 13:29:24 -07:00
d4c08e6c9d Remove statement that data is moved when assigning (#982)
* Remove statement that data is moved when assigning

The distinction between non-`Copy` and `Copy` types is tricky to explain. One problem is that people often focus on _moving_ vs _copying_ when both variable types always copy data.

This PR removes the statement about moving data (since that is wrong on its own).

* Apply suggestions from code review

Co-authored-by: Dustin J. Mitchell <djmitche@google.com>

* Apply suggestions from code review

Co-authored-by: Dustin J. Mitchell <djmitche@google.com>

---------

Co-authored-by: Dustin J. Mitchell <djmitche@google.com>
2023-07-18 08:52:26 -07:00
486458c72d Memory Management: Rework Scope-based Cons (#998)
* Memory Management: Add classic ARC issues to Comparison

* replaced uaf reference (which needs misuse in C++)
2023-07-18 08:51:52 -07:00
cb45d322c7 Make installation URL more prominent (#1006)
* Make installation URL more prominent

This makes it more prominent that people should go to rustup.rs to install Rust.
2023-07-18 11:37:57 +00:00
2c3aa82af5 Filesystem slide rework (#1002)
* Filesystem slide rework (2015 is over)

* cleanup

* Cleanup text

* Specify "current versions"

Co-authored-by: Martin Geisler <martin@geisler.net>

---------

Co-authored-by: Martin Geisler <martin@geisler.net>
2023-07-18 13:32:45 +02:00
94e5db7ddb Fix capitalization of Rust (#1007) 2023-07-18 12:41:27 +02:00
b0380e1f0e pt-BR: Some updates and fixes (#994)
pt-BR: Some updates and fixes to the
Brazilian Portuguese translation.
2023-07-18 11:10:24 +01:00
2f86a259b6 Add Mutex information to Rc slide (#1001)
Add mutex information to Rc slide
2023-07-18 11:03:45 +02:00
0411d0c8e5 Additional sentence for derive macros (#1003) 2023-07-18 11:02:49 +02:00
640be0770a Equal -> Equals for consistency (#1004)
* Equal -> Equals for consistency

* forgot one
2023-07-18 11:02:35 +02:00
46a38bc67a Error is not yet available in core on stable (#1005) 2023-07-18 11:02:24 +02:00
3568823731 ko: refresh translation for async (#945)
* ko: refresh translation for async

Part of #925.

* Apply suggestions from code review

Co-authored-by: Jiyong Park <55639800+jiyongp@users.noreply.github.com>

* ko: move translations back to where they belong

Moving them back helps avoid conflicts. The outdated messages can be
cleaned up with `msgmerge` at a later point.

---------

Co-authored-by: Jiyong Park <55639800+jiyongp@users.noreply.github.com>
2023-07-18 08:27:13 +00:00
0234886c67 ko: refresh translation for error-handling (#948)
* ko: refresh translation for error-handling

Part of #925.

* ko: move translations back to where they belong

Moving them back helps avoid conflicts. The outdated messages can be
cleaned up with `msgmerge` at a later point.
2023-07-18 09:55:58 +02:00
ebbb696703 Rename confusing 'Double Free' (#1000) 2023-07-17 22:42:35 -07:00
797260b813 Use non-generic default (#999) 2023-07-17 22:38:48 -07:00
3f1a8d8ca1 Memory Management: Leaks are bad, RCE is worse (#997)
Leaks are bad, RCE is worse
2023-07-17 22:36:14 -07:00
aabe0c0a96 'Stack Memory' slide isn't really showing stack memory (#996) 2023-07-17 22:35:20 -07:00
cb689be312 Static variables don't need unsafe (#995) 2023-07-17 22:23:03 -07:00
21ea796e3b Move to more legible types (#989)
* Move to more legible types

* Add information about underscores
2023-07-17 22:12:51 -07:00
97ac01dc75 Rust isn't functional, but it does have functional elements (#987)
* Rust isn't functional, but it does have functional elements

* End sentence

Co-authored-by: Martin Geisler <martin@geisler.net>

* add info about OO

---------

Co-authored-by: Martin Geisler <martin@geisler.net>
2023-07-18 01:13:06 +02:00
e7253e2b5e Updated 'Using Cargo' (#984) 2023-07-17 23:26:39 +02:00
e59a87f0c0 Clarify constructors in the speaker notes for methods (#992) 2023-07-17 17:17:26 -04:00
ba403016b9 Add note about doc tests (#991) 2023-07-17 17:16:23 -04:00
4fe28011a0 Fix links to FromIterator, HashSet (#993) 2023-07-17 15:10:02 -04:00
165a6c8f79 Add reference to microcontrollers as target for rust (#986) 2023-07-17 19:01:21 +02:00
eb0150fb84 Remove the overly specific 40 years reference (#988) 2023-07-17 18:57:33 +02:00
9e825fbd59 Clarify the "Slices" question and fix the answer (#990)
Clarify the question and fix the answer
2023-07-17 16:32:49 +00:00
faab0e2ee6 Clarify that crates don't have to live on crates.io (#985) 2023-07-17 17:58:04 +02:00
75bc262983 Update translations.md (#979)
Update list of contributors for the pt-BR translation.
2023-07-17 08:49:19 -07:00
79ae681f78 Fix broken module example (#983)
The module is external, so it should not have curly braces.
2023-07-17 16:54:47 +02:00
ab5988180b ko: refresh translation for concurrency (#932)
* ko: refresh translation for concurrency

Part of #925.

* ko: move translation back to where it belongs

This is likely outdated, but moving it here helps avoid conflicts. The
outdated paragraph can be cleaned up with `msgmerge` at a later point.
2023-07-17 09:47:44 +00:00
d8ffa270aa ko: refresh translation for android (#934)
* ko: refresh translation for android

Part of #925.

* ko: move translations back to where they belong

Moving them back helps avoid conflicts. The outdated paragraphs can be
cleaned up with `msgmerge` at a later point.
2023-07-17 09:38:50 +00:00
45a41b33d9 ko: refresh translation for pattern-matching (#933)
* ko: refresh translation for pattern-matching

Part of #925.

* Apply suggestions from code review

Co-authored-by: Jiyong Park <55639800+jiyongp@users.noreply.github.com>

* ko: move translation back to where it belongs

This is likely outdated, but moving it here helps avoid conflicts. The
outdated paragraph can be cleaned up with `msgmerge` at a later point.

---------

Co-authored-by: Jiyong Park <55639800+jiyongp@users.noreply.github.com>
2023-07-17 09:34:19 +00:00
acd1c41f07 ko: refresh translation for generics (#929)
* ko: refresh translation for generics

Part of #925.

* Apply suggestions from code review

Co-authored-by: Jiyong Park <55639800+jiyongp@users.noreply.github.com>

* ko: move translation back to where it belongs

This paragraph is likely outdated, but moving it here helps avoid
conflicts. The outdated paragraph can be cleaned up with `msgmerge` at
a later point.

---------

Co-authored-by: Jiyong Park <55639800+jiyongp@users.noreply.github.com>
2023-07-17 09:28:51 +00:00
15f5ced5f9 ko: refresh translation for unsafe (#927)
Part of #925.
2023-07-17 09:06:04 +02:00
4d11d59247 pt-BR: Review new fuzzy entries after .po file refresh (#976)
* Added steps to configure Poedit properly

* Small adjustments

* Add link to Poedit

* Fix file formatting

* One. More. dprint. Fix.

* Normalizes pt-BR.po file format through Poedit
with line wrap.

* Fix typo.

* Fix fuzzy entries after .po file reformatting.

* Fix one code sample
2023-07-14 18:34:09 +00:00
d891d0bb5e pt-BR: normalize file formatting (#975)
* Added steps to configure Poedit properly

* Small adjustments

* Add link to Poedit

* Fix file formatting

* One. More. dprint. Fix.

* Normalizes pt-BR.po file format through Poedit
with line wrap.

* Fix typo.
2023-07-14 08:57:05 -07:00
e6a28fbeaf ko: refresh translation for traits (#926)
Part of #925.

Apply suggestions from code review

Co-authored-by: Jiyong Park <55639800+jiyongp@users.noreply.github.com>
2023-07-14 13:36:15 +00:00