Commit Graph
100 Commits
Author SHA1 Message Date
Luca Palmieri 3f60de3712 Avoid using a suffix (#239) 2024-12-18 17:38:05 +01:00
Luca Palmieri 36f6375c20 Change if-else exercise to require an if-else (#238) 2024-12-18 17:33:03 +01:00
Luca Palmieri fb19005d5f Clarify Send-Sync relationship (#237) 2024-12-18 17:22:16 +01:00
Luca Palmieri cc0092b2c6 Clarify that both crate and super are keywords (#236) 2024-12-18 17:13:27 +01:00
Luca Palmieri d5e1c00108 Give a more structure hint for iteration exercises (#235) 2024-12-18 17:03:24 +01:00
Luca Palmieri 60947aaacd Showcase else-if (#234) 2024-12-18 16:53:14 +01:00
LukeMathWalker fe40e6e2d0 Don't mark Rust code snippets as runnable 2024-12-18 16:48:57 +01:00
LukeMathWalker 7fb0910b39 Format all manifests 2024-12-18 16:39:16 +01:00
Luca Palmieri 468b74ba4d Ignore dead code warnings until visibility has been explained (#232) 2024-12-18 16:38:07 +01:00
LukeMathWalker b0e1e5a1ec Link to the next tutored session in the methodology section 2024-12-18 11:38:21 +01:00
LukeMathWalker 93536fbcfd Formatting 2024-12-18 11:25:30 +01:00
LukeMathWalker 1993507236 Update redirects 2024-12-18 11:24:29 +01:00
LukeMathWalker a1a2dc1588 Update aliases 2024-12-18 11:23:03 +01:00
Luca Palmieri a0537f8c51 chore: Shorten links 2024-09-27 14:47:00 +02:00
Luca Palmieri 73649001ba Add link to paperback. 2024-09-27 10:13:15 +02:00
Luca Palmieri e9c4f37130 Don't omit macros from PDF and ePUB versions 2024-09-19 10:33:03 +02:00
Luca Palmieri fb8f83a518 Add ePUB format (#130) 2024-08-13 15:53:43 +02:00
LukeMathWalker f9a1d427b2 Adjust margins for paperback version. Ensure nothing breaches the right margin. 2024-08-07 15:39:35 +02:00
LukeMathWalker 05e3efd298 redirects -> _redirects 2024-08-06 17:34:08 +02:00
Luca Palmieri c9ed60daf5 Add print-ready PDF (#127) 2024-08-06 17:09:04 +02:00
LukeMathWalker 0910f3909f Add formats. 2024-08-06 10:31:06 +02:00
Luca Palmieri 96f06708b0 Render the book in PDF using pandoc and LaTeX. (#126)
* Render the book in PDF using `pandoc` and LaTeX.

* Fix installs.

* Go the apt-get route

* Another attempt

* Avoid installing twice.

* Re-order.

* Add more packages.

* Minimise deps. Fix link checker.

* Missing package.

* Missing package.

* Missing package.

* More packages.

* Missing package.

* Missing package.

* More packages...

* Remove.

* Fix link checker.

* Fix link checker.

* Fix path.

* Add subtitle.

* Avoid running over the right margin.

* Avoid running over the right margin.

* Formatting
2024-08-05 17:52:15 +02:00
LukeMathWalker 5ef0a6aa12 Formatting 2024-08-01 15:33:23 +02:00
LukeMathWalker f882f0416d Change exercise for mutable slices. Closes #26 2024-08-01 15:33:13 +02:00
LukeMathWalker 6029a8fc17 Ensure that overflow checks are active for the copy exercise. Closes #64 2024-08-01 15:14:10 +02:00
LukeMathWalker 056505d89f It's enough for one field to be private. Closes #69 2024-08-01 15:10:50 +02:00
LukeMathWalker b039a6c5c2 Formatting 2024-08-01 15:09:40 +02:00
LukeMathWalker 3a9c9ea520 Remove reference to cargo new to avoid confusion. Closes #71. 2024-08-01 15:09:24 +02:00
LukeMathWalker 3f4d31148f Add cargo-modules. Closes #101 2024-08-01 14:56:43 +02:00
LukeMathWalker 2f067058ce Fix #104 2024-08-01 14:54:25 +02:00
LukeMathWalker be5c0e8bae Reword 'static issues. Closes #117 2024-08-01 14:53:53 +02:00
LukeMathWalker a6056381bd No need to deploy anymore. 2024-07-30 16:13:20 +02:00
LukeMathWalker baca47f782 Add a TODO to make things more explicit. 2024-05-28 11:18:27 +02:00
LukeMathWalker d442b61795 Reword. 2024-05-28 11:11:41 +02:00
LukeMathWalker bd9faa049f Remove new line. 2024-05-24 20:16:31 +02:00
LukeMathWalker a111eed575 Re-add necessary references section in 06/06 2024-05-24 20:14:02 +02:00
LukeMathWalker 1a452230ed Create branch first. 2024-05-24 18:26:59 +02:00
LukeMathWalker 5a08035d83 Fetch history. 2024-05-24 18:26:15 +02:00
LukeMathWalker 0b15b96ab0 Fix deploy step. 2024-05-24 18:20:45 +02:00
LukeMathWalker 4401743807 Formatter 2024-05-24 18:16:20 +02:00
Luca Palmieri 1aae615bb4 Automatically add exercise links to sections. (#52)
We use an mdbook preprocessor to automatically generate links to the relevant exercise for each section.
We remove all existing manual links and refactor the deploy process to push the rendered book to a branch.
2024-05-24 18:15:38 +02:00
Luca Palmieri 99591a715e Formatter (#51)
Enforce consistent formatting use `dprint`
2024-05-24 17:00:03 +02:00
LukeMathWalker 537118574b Run CI on pushes to main too. 2024-05-24 16:47:14 +02:00
Luca Palmieri f388b2a6c3 Add CI job to verify that we have no broken links. (#50)
Fix all broken links.
2024-05-24 16:45:59 +02:00
LukeMathWalker eb0b4f75f0 Improve Output explanation. 2024-05-24 12:55:58 +02:00
LukeMathWalker cbafcf2cd4 Restructure negative trait bounds section. 2024-05-24 12:43:34 +02:00
LukeMathWalker d5c0743c56 Reword instructions. 2024-05-24 12:36:15 +02:00
LukeMathWalker e8cc1217db Add trait recommendations. 2024-05-24 12:33:35 +02:00
LukeMathWalker 1993f43418 You can assign an if/else expression to a variable. 2024-05-24 12:20:11 +02:00
LukeMathWalker f371e4cd95 Fix typo. 2024-05-24 12:16:04 +02:00
LukeMathWalker 5977b1c51b Explain that generic parameters don't have to be single letters. 2024-05-24 12:12:51 +02:00
LukeMathWalker 46e2dcb2b9 Fix index. 2024-05-23 16:33:55 +02:00
LukeMathWalker 453d8030e5 Add new section on trait bounds. 2024-05-23 15:29:42 +02:00
LukeMathWalker 2477f72adc Remove ambiguity in 03/07 exercise mandate. 2024-05-23 14:39:43 +02:00
LukeMathWalker f645b500c4 Improve as casting exercise. 2024-05-23 14:37:05 +02:00
LukeMathWalker 6c217f7b66 Use "bytes" instead of "characters" consistently when talking about length of a String. 2024-05-22 12:06:40 +02:00
LukeMathWalker 0bce2485ab Add more resources to "Derive" section. Closes #34 2024-05-22 12:04:22 +02:00
LukeMathWalker b54b0b7023 Fix test to use &mut rather than &. Closes #30 2024-05-22 11:11:05 +02:00
LukeMathWalker e5eee2e83c Fix links. 2024-05-22 11:03:19 +02:00
Luca Palmieri ee055245e5 Merge pull request #3 from phmx/patch-1
Fix a nano-typo in 04_panics.md
2024-05-17 13:29:53 +02:00
Luca Palmieri a8ba7ddec6 Merge pull request #4 from vrnvu/main
fixes usage valid_description typo
2024-05-17 13:29:30 +02:00
LukeMathWalker 7d1d90fb37 Reword MutexGuard explanation. 2024-05-17 11:19:57 +02:00
LukeMathWalker d698ccdc1e Clarify where the first exercise is. 2024-05-17 09:59:34 +02:00
LukeMathWalker 9e7da6766b Add GitHub link. 2024-05-16 16:46:45 +02:00
LukeMathWalker 17cfa531ba Don't unwrap when trying to close the writer half in 08/07 2024-05-16 15:32:27 +02:00
LukeMathWalker 0665cf0b25 Newlines. 2024-05-16 13:18:19 +02:00
LukeMathWalker 95bddb12ca Add StreamExt::merge 2024-05-16 13:17:59 +02:00
LukeMathWalker 2bbdf9ff13 Fix typo in code snippet. 2024-05-16 12:43:11 +02:00
LukeMathWalker 2f2a2a335b Explain how to cancel a spawned future. 2024-05-16 12:43:05 +02:00
LukeMathWalker 73e7ddf913 Explain how tokio::spawn behaves with respect to panics. 2024-05-16 10:59:59 +02:00
LukeMathWalker e269539a42 Typo. 2024-05-16 10:42:45 +02:00
LukeMathWalker 5d68add5ad Fix: configure and read from socket correctly in 08/05 2024-05-16 10:14:46 +02:00
LukeMathWalker 804b275b06 Update guidance in 08/04. 2024-05-16 10:04:49 +02:00
LukeMathWalker f671914dfb Typo. 2024-05-16 09:20:07 +02:00
LukeMathWalker 5fda479c96 Fix crate name. 2024-05-16 09:12:47 +02:00
LukeMathWalker aa58dcb5ca Last chapter on async Rust 2024-05-15 20:01:05 +02:00
LukeMathWalker 6e581440bf Explain. 2024-05-14 15:54:26 +02:00
LukeMathWalker 28a1bb94ad Use &str rather than &String 2024-05-14 14:56:22 +02:00
LukeMathWalker 3d534dd336 Use &str rather than &String. 2024-05-14 14:53:55 +02:00
LukeMathWalker 933d5dd4b4 Reword. 2024-05-14 14:46:09 +02:00
LukeMathWalker 519e5489ef Adapt GitHub landing page. 2024-05-14 14:22:34 +02:00
LukeMathWalker 9776cb7593 Improve landing page. 2024-05-14 14:18:14 +02:00
LukeMathWalker 3f9fc21618 Typo. 2024-05-14 11:18:04 +02:00
LukeMathWalker b4f5a45424 Elaborate further on Add. 2024-05-14 11:00:59 +02:00
LukeMathWalker ab2f0298f0 Link to Rustonomicon for struct's data layout. 2024-05-14 10:56:14 +02:00
LukeMathWalker a91ff83a75 Link directly to String type. 2024-05-14 10:53:34 +02:00
LukeMathWalker 90caadf797 Use more precise language in task assignment. 2024-05-14 10:52:46 +02:00
LukeMathWalker 6235d8c1ed Mention that Copy can be derived. 2024-05-14 10:51:45 +02:00
LukeMathWalker 2c044a2567 Fix instructions. 2024-05-14 10:05:25 +02:00
LukeMathWalker ae7769d879 Check the implementation of Display in the tests. 2024-05-14 10:03:45 +02:00
LukeMathWalker d9a0c025e9 Fix instructions. 2024-05-14 10:02:29 +02:00
LukeMathWalker 602ce11299 Complete section on read-only data segment. 2024-05-13 21:10:54 +02:00
LukeMathWalker 04c4e55b37 Fix tests 2024-05-13 21:02:44 +02:00
LukeMathWalker 0e38fa8ca7 Fix: error type 2024-05-13 20:59:12 +02:00
LukeMathWalker a0f3a6eaa7 Fix: recv returns an Option<Ticket> 2024-05-13 20:30:01 +02:00
LukeMathWalker d23f48a3a9 Fix: use curly braces rather than parentheses 2024-05-13 15:30:50 +02:00
LukeMathWalker a1a96f6457 Fix: remove unnecessary dereference. 2024-05-13 15:20:49 +02:00
LukeMathWalker 23ca48ca9e Fix typo. 2024-05-13 14:03:49 +02:00
LukeMathWalker 22c029fea5 Fix test. 2024-05-13 13:58:35 +02:00
LukeMathWalker 33444dfeee Remove IntoIterator impl for &TicketStore 2024-05-13 13:49:10 +02:00