Commit graph

147 commits

Author SHA1 Message Date
David Parra
99ee4b27c5
Typo (#154)
Some checks failed
CI / build (push) Has been cancelled
CI / is_fresh (push) Has been cancelled
CI / formatter (push) Has been cancelled
Thanks for such a great book, found a small typo.
2024-09-22 08:12:14 +02:00
Marco Otte-Witte
af6c605fe6
Merge pull request #133 from mainmatter/style-book
Some checks failed
CI / build (push) Has been cancelled
CI / is_fresh (push) Has been cancelled
CI / formatter (push) Has been cancelled
Style book
2024-09-19 11:47:52 +02:00
Marco Otte-Witte
f613c9a58b
Merge pull request #150 from mainmatter/LukeMathWalker-patch-1
Don't omit macros from PDF and ePUB versions
2024-09-19 11:40:52 +02:00
Luca Palmieri
e9c4f37130
Don't omit macros from PDF and ePUB versions 2024-09-19 10:33:03 +02:00
Abdelrahman Omar
e768d9dbd8
add test coverage for IndexMut<&TicketId> (#142)
Some checks failed
CI / build (push) Has been cancelled
CI / is_fresh (push) Has been cancelled
CI / formatter (push) Has been cancelled
2024-09-11 11:37:23 +02:00
Tobias Hermann
ea71ac2c0a
Remove duplicated mention of slices in 00_intro.md (#144)
Slices are already mentioned in bullet point 4, so they can be removed from bullet point 2.
2024-09-11 11:36:58 +02:00
Marco Otte-Witte
0ca42ba058
move comment to meaningful place 2024-08-27 09:14:20 +02:00
Marco Otte-Witte
681903a853
make fontsize 1pt smaller 2024-08-27 09:13:38 +02:00
Marco Otte-Witte
6bdcf19f5f
use less teal for sh theme 2024-08-22 15:43:19 +02:00
Marco Otte-Witte
297d78d750
actually use custom highlighting theme 2024-08-22 15:38:18 +02:00
Marco Otte-Witte
cab4de6433
remove background color on operators 2024-08-22 15:25:58 +02:00
Marco Otte-Witte
52c21a241d
add lost settings for print version back in 2024-08-22 15:22:03 +02:00
Marco Otte-Witte
982a8f0789
copy config to paperback 2024-08-20 18:26:26 +02:00
Marco Otte-Witte
1b050774e7
custom syntax highlighting 2024-08-20 18:26:26 +02:00
Marco Otte-Witte
d269320825
set link and url styles 2024-08-20 18:26:26 +02:00
Marco Otte-Witte
8730a8458a
use Core Sans font 2024-08-20 18:26:26 +02:00
Henk Oordt
97d13e5c85
Merge pull request #131 from ehershey/grammar
Some checks failed
CI / build (push) Has been cancelled
CI / is_fresh (push) Has been cancelled
CI / formatter (push) Has been cancelled
Grammar fixups
2024-08-14 09:38:27 +02:00
Ernie Hershey
d5918375f3
Grammar fixups 2024-08-13 11:41:40 -04:00
Luca Palmieri
fb8f83a518
Add ePUB format (#130)
Some checks are pending
CI / build (push) Waiting to run
CI / is_fresh (push) Waiting to run
CI / formatter (push) Waiting to run
2024-08-13 15:53:43 +02:00
LukeMathWalker
f9a1d427b2 Adjust margins for paperback version. Ensure nothing breaches the right margin.
Some checks failed
CI / build (push) Has been cancelled
CI / is_fresh (push) Has been cancelled
CI / formatter (push) Has been cancelled
2024-08-07 15:39:35 +02:00
LukeMathWalker
05e3efd298 redirects -> _redirects
Some checks are pending
CI / build (push) Waiting to run
CI / is_fresh (push) Waiting to run
CI / formatter (push) Waiting to run
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.
Some checks are pending
CI / build (push) Waiting to run
CI / formatter (push) Waiting to run
2024-08-06 10:31:06 +02:00
mckzm
2765fdaa0e
Fix reference to supertrait syntax in 09_error_trait.md (#124)
Some checks are pending
CI / build (push) Waiting to run
CI / formatter (push) Waiting to run
The [Error trait](https://rust-exercises.com/100-exercises/05_ticket_v2/09_error_trait.html?highlight=supertrait#the-error-trait) chapter states that the reader may recall the supertrait syntax from the [Sized trait](https://rust-exercises.com/100-exercises/04_traits/08_sized) chapter. Actually the syntax is introduced in the [From and Into](https://rust-exercises.com/100-exercises/04_traits/09_from) chapter instead. This PR amends the text accordingly.
2024-08-05 17:53:07 +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
mckzm
e732ea82e4
Fix minor typo in 09_bounded.md (#125)
Trim errant `s` from `enqueue`'s end in [Bounded vs unbounded channels](https://rust-exercises.com/100-exercises/07_threads/09_bounded.html):

`if the producers enqueues messages` -> `if the producers enqueue messages`
2024-08-05 15:03:31 +02:00
LukeMathWalker
5ef0a6aa12 Formatting
Some checks failed
CI / build (push) Has been cancelled
CI / formatter (push) Has been cancelled
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.
Some checks failed
CI / build (push) Has been cancelled
CI / formatter (push) Has been cancelled
2024-07-30 16:13:20 +02:00
code-cp
59833f2a55
Update 06_async_aware_primitives.md (#122)
Some checks failed
CI / build (push) Has been cancelled
CI / formatter (push) Has been cancelled
Fix a typo
2024-07-28 12:46:20 +02:00
Zhang Zihao
9a2086081c
Fix a typo (#116)
Some checks failed
CI / build (push) Has been cancelled
CI / formatter (push) Has been cancelled
2024-07-17 08:08:22 +02:00
Jack Moffitt
f272843c61
Remove pub visibility on server() as the argument has a private type. This gets rid of a warning. (#112)
Some checks failed
CI / build (push) Has been cancelled
CI / formatter (push) Has been cancelled
2024-07-07 21:18:43 +02:00
Evgeniy Filimonov
fccad08921
07_threads: 03_leak: Leak vector with Vec::leak, not Box::leak (#107)
Some checks failed
CI / build (push) Has been cancelled
CI / formatter (push) Has been cancelled
2024-06-30 18:23:20 +02:00
Palash Nigam (He/Him)
de45f8adf2
Ch-08 Futures Exercise 02: Fix typo (#106)
Some checks are pending
CI / build (push) Waiting to run
CI / formatter (push) Waiting to run
2024-06-30 00:18:46 +02:00
LOGI
5660a2f7a8
fix(typo): a module name in comments (#102)
Some checks failed
CI / build (push) Has been cancelled
CI / formatter (push) Has been cancelled
The output of the compiler does not include the module name of the `Ticket` struct and the root module of this exercise is `visibility` rather than `encapsulation` which is the root module of the next exercise.
2024-06-27 11:35:11 +02:00
Saqib Ahmed
491319a6d5
fix: fix a typo (#103) 2024-06-27 11:34:02 +02:00
Jerry Wu
83cf1cad62
Update 11_locks.md (#94)
Some checks failed
CI / build (push) Has been cancelled
CI / formatter (push) Has been cancelled
Suggest removing an extra semicolon.
2024-06-20 10:21:53 +02:00
Ernie Hershey
d8d7e73f1c
fix syntax with comma (#89)
Example doesn't compile with a comma here
2024-06-20 10:21:33 +02:00
Onè
468de3c0ac
Change test to require impl (#87)
impl std::ops::Add<&SaturatingU16> for SaturatingU16
2024-06-20 10:21:14 +02:00
tomgrbz
c86360f3c4
Remove array/slice syntax from argument &mut str in TODO comment for lowercase func (#99)
Co-authored-by: thomasgrbic <grbic.t@northeastern.edu>
2024-06-20 10:18:55 +02:00
Felix Pherry
056611ac1c
Fix: typos (#84)
Co-authored-by: Felix Pherry <182051.FELIX@klgroup.local>
2024-06-05 11:59:04 +02:00
Felix Pherry
e99a15390e
fix(book): Correct type parameter naming convention to pascal case (#79)
* fix(book): Correct type parameter naming convention to pascal case

* Update book/src/04_traits/05_trait_bounds.md

---------

Co-authored-by: Felix Pherry <182051.FELIX@klgroup.local>
Co-authored-by: Luca Palmieri <20745048+LukeMathWalker@users.noreply.github.com>
2024-06-01 08:31:48 +02:00
rithvik-bosch
ffb2f08b67
nit: grammar (#70) 2024-05-29 10:59:32 +02:00