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

1049 Commits

Author SHA1 Message Date
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
677e1feae1 Disambiguate b in main_improved.rs (#977)
Based on #761.
2023-07-14 12:01:00 +01:00
f00711d333 ko: refresh translation for modules (#939)
* ko: refresh translation for modules

Part of #925.

* Apply suggestions from code review

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

* Update po/ko.po

---------

Co-authored-by: Jiyong Park <55639800+jiyongp@users.noreply.github.com>
2023-07-14 10:25:55 +00:00
2e45cd95ef ko: refresh translation for cargo (#943)
Part of #925.
2023-07-14 10:13:53 +00:00
c74759b5c1 ko: refresh translation for structs (#936)
* ko: refresh translation for structs

Part of #925.

* Fix missing `\n` po/ko.po
2023-07-14 10:11:40 +00:00
e79fd4f845 ko: refresh translation for testing (#931)
* ko: refresh translation for testing

Part of #925.

* Apply suggestions from code review

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

---------

Co-authored-by: Jiyong Park <55639800+jiyongp@users.noreply.github.com>
2023-07-14 10:09:46 +00:00
d052f4402b ko: refresh translation for basic-syntax (#937)
* ko: refresh translation for basic-syntax

Part of #925.

* Apply suggestions from code review

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

* Update po/ko.po

---------

Co-authored-by: Jiyong Park <55639800+jiyongp@users.noreply.github.com>
2023-07-14 12:05:24 +02:00
cc171fa7cf ko: refresh translation for welcome (#946)
* ko: refresh translation for welcome

Part of #925.

* Apply suggestions from code review

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

---------

Co-authored-by: Jiyong Park <55639800+jiyongp@users.noreply.github.com>
2023-07-14 09:59:58 +00:00
5715ddc924 ko: refresh translation for control-flow (#935)
* ko: refresh translation for control-flow

Part of #925.

* Apply suggestions from code review

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

---------

Co-authored-by: Jiyong Park <55639800+jiyongp@users.noreply.github.com>
2023-07-14 11:53:58 +02:00
062df5c3a8 ko: refresh translation for SUMMARY (#940)
* ko: refresh translation for SUMMARY

Part of #925.

* Apply suggestions from code review

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

---------

Co-authored-by: Jiyong Park <55639800+jiyongp@users.noreply.github.com>
2023-07-14 11:48:19 +02:00
47b31e8d7e ko: refresh translation for credits (#942)
* ko: refresh translation for credits

Part of #925.

* Apply suggestions from code review

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

---------

Co-authored-by: Jiyong Park <55639800+jiyongp@users.noreply.github.com>
2023-07-14 11:47:08 +02:00
bded36a214 ko: refresh translation for methods (#949)
Part of #925.
2023-07-14 11:44:54 +02:00
2e6219c005 ko: refresh translation for memory-management (#947)
Part of #925.
2023-07-14 11:44:39 +02:00
5bb2dc81a0 ko: refresh translation for ownership (#944)
Part of #925.
2023-07-14 11:41:49 +02:00
d7da4ad8fe ko: refresh translation for running-the-course (#941)
* ko: refresh translation for running-the-course

Part of #925.

* Apply suggestions from code review

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

* Rebase and move translations to correct spot

I believe the PO file would benefit from a msgmerge run. I’ll let the
translators do this after merging all outstanding translations.

---------

Co-authored-by: Jiyong Park <55639800+jiyongp@users.noreply.github.com>
2023-07-14 09:21:21 +00:00
80823a6f2b ko: refresh translation for enums (#930)
* ko: refresh translation for enums

Part of #925.

* Apply suggestions from code review

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

---------

Co-authored-by: Jiyong Park <55639800+jiyongp@users.noreply.github.com>
2023-07-14 11:01:27 +02:00
9d99e9b082 ko: refresh translation for std (#938)
Part of #925.
2023-07-14 11:01:13 +02:00
eda4766442 Fix some broken fragment ID encodings in rustdoc links (#571) 2023-07-14 08:55:46 +00:00
c4603fd595 Move Poedit instructions into new section (#960)
We did not actually have a section with instructions for how to edit a translation. Instead, this information was kind of implicitly there.
2023-07-13 08:19:52 -07:00
2e692fcc8a Additional configuration steps on TRANSLATIONS.md (#959)
* Added steps to configure Poedit properly

* Small adjustments

* Add link to Poedit

* Fix file formatting

* One. More. dprint. Fix.
2023-07-13 11:00:46 +02:00
ef99d15529 Fix solution in Link Checker in Concurrency Morning exercises (#904)
* Fix solution in Link Checker in Concurrency Morning exercises.

This change fixes the following issues with the current solution:

1. It is not listed on the "solutions" page.
2. It is not multi-threaded and does not use channels.

---------

Co-authored-by: Dustin J. Mitchell <djmitche@google.com>
2023-07-13 10:52:06 +02:00