1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-06-03 16:17:28 +02:00

686 Commits

Author SHA1 Message Date
sakex
6f94c9e7a4 game-of-life.md 2023-08-06 23:26:15 +02:00
sakex
771e41ccdd Clearer instructions in camera.md 2023-08-06 19:09:13 +02:00
sakex
360b43ef37 Bonus exercise for camera 2023-08-03 04:42:18 +02:00
sakex
449ac4d302 camera.md 2023-08-03 03:42:40 +02:00
sakex
afbd29e814 closures.md 2023-08-02 23:08:12 +02:00
sakex
9f724d40ce Use generic server 2023-08-02 22:15:50 +02:00
Alexandre Senges
46c5a44040 Fix import in async.md 2023-07-27 10:08:49 +00:00
sakex
abfe08c0e7 update-deps 2023-07-26 15:21:39 +00:00
sakex
a87c286df7 limitations 2023-07-25 09:30:55 +00:00
sakex
bee0f950e2 limitations/borrow-checker.md 2023-07-25 07:49:58 +00:00
sakex
9b00ca4211 remove log from async.md 2023-07-24 22:12:47 +02:00
sakex
f7d791fac7 async.md 2023-07-24 22:10:51 +02:00
sakex
13af2243ec import-js-type 2023-07-24 19:47:27 +02:00
sakex
806335795c improve CSS 2023-07-24 19:27:41 +02:00
sakex
4f8bc9061f error-handling.md 2023-07-24 17:30:21 +02:00
sakex
7d411b7237 web-sys 2023-07-21 19:12:33 +02:00
sakex
39ae389af1 import-method 2023-07-21 18:41:47 +02:00
sakex
d4f4ff30ba Fix summary indentation 2023-07-21 18:15:33 +02:00
sakex
fdf83866cb expose-rust-type 2023-07-21 18:11:48 +02:00
sakex
7d209454b1 expose-method 2023-07-21 14:48:49 +02:00
sakex
b0ce243f86 load-wasm-module 2023-07-21 14:32:36 +02:00
sakex
b989324e95 WASM intro 2023-07-21 14:08:02 +02:00
sakex
964a0d6215 rust-wasm-template 2023-07-21 12:05:32 +02:00
Dominik Maier
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
Martin Geisler
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
Dominik Maier
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
Martin Geisler
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
Dominik Maier
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
Martin Geisler
94e5db7ddb
Fix capitalization of Rust (#1007) 2023-07-18 12:41:27 +02:00
Dominik Maier
2f86a259b6
Add Mutex information to Rc slide (#1001)
Add mutex information to Rc slide
2023-07-18 11:03:45 +02:00
Dominik Maier
0411d0c8e5
Additional sentence for derive macros (#1003) 2023-07-18 11:02:49 +02:00
Dominik Maier
640be0770a
Equal -> Equals for consistency (#1004)
* Equal -> Equals for consistency

* forgot one
2023-07-18 11:02:35 +02:00
Dominik Maier
46a38bc67a
Error is not yet available in core on stable (#1005) 2023-07-18 11:02:24 +02:00
Dominik Maier
ebbb696703
Rename confusing 'Double Free' (#1000) 2023-07-17 22:42:35 -07:00
Dominik Maier
797260b813
Use non-generic default (#999) 2023-07-17 22:38:48 -07:00
Dominik Maier
3f1a8d8ca1
Memory Management: Leaks are bad, RCE is worse (#997)
Leaks are bad, RCE is worse
2023-07-17 22:36:14 -07:00
Dominik Maier
aabe0c0a96
'Stack Memory' slide isn't really showing stack memory (#996) 2023-07-17 22:35:20 -07:00
Dominik Maier
cb689be312
Static variables don't need unsafe (#995) 2023-07-17 22:23:03 -07:00
Dominik Maier
21ea796e3b
Move to more legible types (#989)
* Move to more legible types

* Add information about underscores
2023-07-17 22:12:51 -07:00
Dominik Maier
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
Dominik Maier
e7253e2b5e
Updated 'Using Cargo' (#984) 2023-07-17 23:26:39 +02:00
Dominik Maier
e59a87f0c0
Clarify constructors in the speaker notes for methods (#992) 2023-07-17 17:17:26 -04:00
Dominik Maier
ba403016b9
Add note about doc tests (#991) 2023-07-17 17:16:23 -04:00
Dominik Maier
4fe28011a0
Fix links to FromIterator, HashSet (#993) 2023-07-17 15:10:02 -04:00
Dominik Maier
165a6c8f79
Add reference to microcontrollers as target for rust (#986) 2023-07-17 19:01:21 +02:00
Dominik Maier
eb0150fb84
Remove the overly specific 40 years reference (#988) 2023-07-17 18:57:33 +02:00
Dominik Maier
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
Dominik Maier
faab0e2ee6
Clarify that crates don't have to live on crates.io (#985) 2023-07-17 17:58:04 +02:00
Henri Fontana
75bc262983
Update translations.md (#979)
Update list of contributors for the pt-BR translation.
2023-07-17 08:49:19 -07:00
Martin Geisler
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