Commit Graph

277 Commits

Author SHA1 Message Date
Taras Burko
7580985e8b
Fix JSON formatter bug in Strategy pattern (#340)
Co-authored-by: Marco Ieni <11428655+MarcoIeni@users.noreply.github.com>
2023-02-09 22:14:26 +01:00
simonsan
be0f1b1db0
Replace wording "abuse" with "misuse" (#339)
The wording is imho pretty clear connotated with sexual abuse and every time I read it I feel like it's misplaced. So I feel like replacing "abuse" with "misuse" is a better and clear wording.
2023-01-18 18:39:50 +01:00
Marco Ieni
0d6ccfc62b
add site url (#334) 2022-12-23 14:02:14 +01:00
Marco Ieni
ab81da9b20
Add edit url (#333) 2022-12-22 15:59:00 +01:00
Marco Ieni
662e537971
chore: update to mdbook v0.4.25 (#331) 2022-12-22 15:56:56 +01:00
jhwgh1968
c91ffc78a4
Add Lenses and Prisms (#326) 2022-12-10 02:23:26 +01:00
simonsan
06f79a20db
Upgrade to mdbook version v0.4.22 (#328) 2022-11-28 22:45:12 +01:00
amab8901
24fd4e2daa
RAII: Grammar correction (#324) 2022-10-23 15:35:47 +02:00
Marco Ieni
d75346d5a2
chore: add link to deref trait (#321) 2022-10-05 11:53:08 +02:00
simonsan
f0e44b5920
Fix #319 (#320) 2022-08-17 03:36:32 +02:00
Tristan Otterpohl
21a29edf52
Fixed minor typos, formatting, grammar issues, and outdated link (#318)
* Fixed minor typos, formatting, grammar issues, and outdated link
2022-08-01 04:39:54 +02:00
simonsan
049d49d353
Update mdbook version to v0.4.21 (#317) 2022-07-29 08:21:42 +02:00
Marco Ieni
396ac0fbf0
ci: keep github actions up to date with dependabot (#307) 2022-07-11 16:21:03 +02:00
Marco Ieni
7258b71753
update mdbook version to 0.4.18 (#309) 2022-07-11 16:18:55 +02:00
Carson Riker
c7be15d387
Modified example sentences to make sense (#311) 2022-07-02 15:09:56 +02:00
hafeoz
662a519128
Change lints hyphen to underscore (#308) 2022-05-26 21:59:50 +00:00
Marco Ieni
465ed6c860
patterns: remove TODO item (#305) 2022-04-04 22:46:53 +02:00
Marco Ieni
78735669af
intro: improve "design patterns in rust" section (#303) 2022-03-17 14:02:20 +01:00
Marco Ieni
48b1bf51ef
ci: update actions/checkout version (#302) 2022-03-17 13:57:10 +01:00
Marco Ieni
b440ed2dba
idioms: intro improvements (#304) 2022-03-17 13:54:57 +01:00
Andrew Sonin
482c2b8720
Fix typo (#300)
`Iterator::filter_map` is analogous to `Iterator::map`, not `Iterator::flat_map`
2022-03-09 09:08:25 +01:00
Marko
d510bc2431
Changes to introductory text. (#299)
* change to introductory text on design patterns with a very brief description

* minor textual adjustments

* shortened line length

* markdown fixes

* Update intro.md

removed redundancy

Co-authored-by: Marco Ieni <11428655+MarcoIeni@users.noreply.github.com>

Co-authored-by: Marco Ieni <11428655+MarcoIeni@users.noreply.github.com>
2022-03-03 00:32:07 +01:00
simonsan
cb591acb56
Update .env (#294) 2022-01-17 21:53:32 +01:00
Ivan Tham
2577a11869
Add Link to zh-CN translation (#293) 2022-01-17 17:53:40 +01:00
poly000
90484a2387
fix comment in 'Clone to stasify borrow checker' (#291) 2022-01-15 00:20:48 +01:00
poly000
bcf1a7aeae
fix typo (#289) 2022-01-08 16:18:44 +01:00
alsotang
dca0dfdc29
Update coercion-arguments.md (#286)
align the type
2021-12-16 16:10:24 +01:00
Sven Assmann
11a0a13dba
chore: use Self instead of the struct name (#284) 2021-12-14 09:53:34 +01:00
Anatol Ulrich
044d36579f
Formatting fixes to unsafe-mods.md (#283) 2021-11-25 04:04:41 +01:00
♫ Christian Krause ♫
fa8e72298e
[idioms/ctor] adds default constructor section (#280)
Replaced the `Vec` example with `Second`. This is easier to
comprehend compared to the more complex `Vec` example. It's also
testable because it doesn't rely on `RawVec`.

Co-authored-by: Marco Ieni <11428655+MarcoIeni@users.noreply.github.com>
Co-authored-by: simonsan <14062932+simonsan@users.noreply.github.com>
2021-11-21 23:37:25 +01:00
Marco Ieni
39a2f36eab
deny-warnings: remove contradiction with rustc doc (#282) 2021-10-18 14:27:52 +02:00
Marco Ieni
66d7e6c7da
deref: fix typo (#275) 2021-10-02 11:52:00 +02:00
Waffle Lapkin
7e9616978f
Escape underscores in a link in functional/generics-type-classes.md (#273)
Previously they were parsed as italic modifiers.
2021-09-15 13:49:01 +02:00
Russell Cohen
567a1f16fb
Updated extensibility to discuss non_exhaustive (#135) 2021-09-01 02:28:30 +02:00
simonsan
fa29385292
Updating main branch name (#272) 2021-08-25 04:58:14 +02:00
simonsan
241dfb7cdd
Update mdbook to v0.4.12 (#271) 2021-08-25 04:48:01 +02:00
poly000
9834f5719b
Fixing grammar and spelling mistakes (#270) 2021-08-25 04:43:23 +02:00
Imbolc
6a7088c25c
Fix typo (#266) 2021-07-27 09:11:36 +02:00
Imbolc
c23e006208
improve Default trait example (#267) 2021-07-26 20:12:45 +02:00
Joel Montes de Oca
c9897ab983
Fix grammar, add missing comma (#263) 2021-07-23 23:58:58 +02:00
Joel Montes de Oca
84c0df77b7
Fix typo (#265) 2021-07-23 21:17:11 +02:00
Ivan Tham
d30b026811
Note on Vec (#262)
Fix #261
2021-07-09 00:47:12 +02:00
simonsan
ef80980ec7
Updating mdbook version (#258) 2021-05-14 06:50:08 +02:00
koalp
b809265f54
Fix internal links II (#256) 2021-04-21 18:56:20 +02:00
simonsan
a1523995ec
Fix internal links (#255) 2021-04-20 22:18:23 +02:00
jhwgh1968
680509aeee
Add Generics as Type Classes (#249) 2021-04-16 11:14:29 +02:00
Wenxuan
22de99a82b
Improve mem-replace examples (#253) 2021-04-13 13:27:42 +02:00
Bayram
fabafb1f15
Adding Command pattern (#247) 2021-03-30 22:49:24 +02:00
simonsan
c9c5f70024
Adding 'clone to satisfy the borrow checker' anti-pattern (#110) 2021-03-29 23:51:47 +02:00
bemyak
a22d81d751
Add builder method to struct in builder pattern (#251) 2021-03-29 14:14:20 +02:00