1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-06-14 21:35:00 +02:00
Commit Graph

622 Commits

Author SHA1 Message Date
3eee86f76d Merge pull request #143 from fbornhofen/speaker-notes-copy-2
Rephrase copy/clone speaker notes
2023-01-10 17:47:27 +01:00
c994340a8f Merge pull request #142 from fbornhofen/speaker-notes-fbornhofen
Add example for underscore syntax with generics (type-inference.md)
2023-01-10 17:46:20 +01:00
6b874844ca Merge pull request #144 from fbornhofen/speaker-notes-rvo
Add speaker notes about RVO in borrowing.md
2023-01-10 17:45:39 +01:00
9448ae3e19 Merge pull request #146 from fbornhofen/speaker-notes-variant-payloads
Add speaker notes for variant-payloads.md
2023-01-10 17:44:49 +01:00
09048753ef Merge pull request #147 from fbornhofen/speaker-notes-enum-sizes
Expand enum sizes example and add speaker notes
2023-01-10 17:44:07 +01:00
8d2fb11adc Expand enum sizes example and add speaker notes 2023-01-10 17:36:16 +01:00
c91cc629d5 Add speaker notes for variant-payloads.md 2023-01-10 16:46:57 +01:00
a5d31d759f Merge pull request #145 from fbornhofen/speaker-notes-shared-unique-borrows
Add speaker notes for shared and unique borrows
2023-01-10 16:14:54 +01:00
91b8d33a99 Add speaker notes for shared and unique borrows 2023-01-10 15:51:56 +01:00
d157b54fd4 Add speaker notes about RVO in borrowing.md 2023-01-10 15:04:17 +01:00
0eec153927 move to reference links 2023-01-10 22:21:13 +09:00
c2c3d48920 moved footnotes to speaker notes 2023-01-10 22:17:18 +09:00
8dc2ea4503 Remove superfluous distracting info 2023-01-10 22:12:43 +09:00
b5a7c9cdcc clarify static details
Co-authored-by: Martin Geisler <mgeisler@google.com>
2023-01-10 05:05:45 -08:00
a532c23c60 Simplify wording of constexpr/const relation
Co-authored-by: Martin Geisler <mgeisler@google.com>
2023-01-10 05:05:26 -08:00
1196622b7a Removed magic incantation that should just be behind the link 2023-01-10 22:03:47 +09:00
4fd8a2ca62 Rephrase bullet point in copy/clone slide 2023-01-10 14:01:08 +01:00
3eecb4bef6 Add time of writing to reflect current status quo that might change
Co-authored-by: Martin Geisler <mgeisler@google.com>
2023-01-10 05:00:59 -08:00
87b26c78c0 Add not about C++ copy constructors 2023-01-10 13:57:15 +01:00
65837087c9 Copy, clone speaker notes: phrase as sentences i/o questions 2023-01-10 13:55:43 +01:00
d1a3290cd6 Add reference to collect, FromIterator 2023-01-10 11:40:02 +01:00
b1069f863c Add example for underscore syntax with generics (type-inference.md) 2023-01-10 11:30:48 +01:00
e29c3bfb99 Merge pull request #123 from ilyagr/username_or_error
Error handling: clarify printing of Result
2023-01-10 10:21:43 +01:00
9746af91fa Merge pull request #140 from brandonpollack23/variables
Added some speaker notes to variables.md
2023-01-10 09:31:22 +01:00
e43dec24fd Tighten language 2023-01-10 09:29:57 +01:00
89ddb2c197 Added notes, runtime constant eval, and footnoes to static-and-const.md 2023-01-10 13:41:31 +09:00
d15a653ed8 Added some speaker notes to variables.md 2023-01-10 13:27:39 +09:00
6a2889d8ce Add more info and footnotes to rust-ecosystem.md 2023-01-10 13:10:16 +09:00
cec5e6d64e Added information on Jetbrains 2023-01-10 12:42:38 +09:00
4172e7587c Added some more detail on rustup.
Rusutp is the reccomended way to install rust and maintained by the core
team.

I added some organization and suggested that that be the method of
installation.
2023-01-10 12:36:51 +09:00
bee9cdab92 Merge pull request #136 from fbornhofen/speaker-notes-variables
Add speaker notes for scopes-shadowing.md
2023-01-09 18:44:29 +01:00
c5824aece0 Merge pull request #134 from fbornhofen/speaker-notes-fbornhofen
Speaker notes for lifetimes-function-calls.md
2023-01-09 18:43:56 +01:00
2ec7bdf15d Ignore code block that deliberately contains an error 2023-01-09 17:36:58 +01:00
3a4d5d4c26 Add complete code block for lifetimes example 2023-01-09 17:32:37 +01:00
77d3ac01e7 Add speaker notes for scopes-shadowing.md 2023-01-09 17:21:54 +01:00
c2462b4af0 Merge pull request #135 from fbornhofen/speaker-notes-fbornhofen-references
Add bullet point about mutable references
2023-01-09 17:20:28 +01:00
ba09385c4a Add bullet point about mutable references 2023-01-09 16:54:14 +01:00
512dedf729 Make instructions in lifetimes-function-calls.md more precise 2023-01-09 16:31:09 +01:00
597c875442 Add speaker notes to lifetimes-function-calls.md 2023-01-09 16:27:10 +01:00
6fac027dd6 Updates PR with code formatting
Backticks for inline and single line code blocks / examples.
2023-01-09 14:42:27 +00:00
9cd5d25821 Adds speaker notes to Compound Types section
Speaker notes for 6. Basic Syntax, 6.2 Compound Types section.
Briefly explains arrays and tuples properties.
Adds option for instructor to check for out of bounds errors using assert!().
2023-01-09 14:18:37 +00:00
3ff2d5f43a Merge pull request #118 from google/exercise-code-snippets
Explain why exercises are not editable
2023-01-09 14:42:54 +01:00
affb2526fe Explain why exercises are not editable
From a discussion in #23.
2023-01-09 14:41:48 +01:00
bf657f5ff0 Show expanded speaker notes on print page
The `/print.html` page is concatenates all pages in the book and can
be reached from the printer icon in the top-right corner.

On this page, we will have many speaker notes. Since the page is for
people who want all information in one place, I think it makes sense
to render all these notes in their expanded form.

I wrote the logic for this as a separate little function since it has
to be different: we don’t want to add an `id` attribute to the
generated headers (since there will be more than one of them) and we
don’t want to generate links to open the notes into a separate window.
2023-01-09 14:37:07 +01:00
029aa8b139 Merge pull request #117 from google/thread-speaker-notes
Add notes to threads.md
2023-01-09 14:33:16 +01:00
e835ee6cdf Add notes to threads.md
From the discussion in #63.
2023-01-09 14:32:04 +01:00
1162c554c0 Merge pull request #128 from google/speaker-notes
Add speaker notes for the first few slides
2023-01-09 14:28:50 +01:00
f4b753b7c5 Speaker notes for “Rust Ecosystem” 2023-01-09 14:27:13 +01:00
62d206506f Speaker notes for “Running Cargo Locally” 2023-01-09 14:27:13 +01:00
3db19fd2e5 Speaker notes for “Using Cargo” 2023-01-09 14:27:13 +01:00