Commit Graph

322 Commits (main)
 

Author SHA1 Message Date
jhwgh1968 c91ffc78a4
Add Lenses and Prisms (#326) 1 year ago
simonsan 06f79a20db
Upgrade to mdbook version v0.4.22 (#328) 1 year ago
amab8901 24fd4e2daa
RAII: Grammar correction (#324) 2 years ago
Marco Ieni d75346d5a2
chore: add link to deref trait (#321) 2 years ago
simonsan f0e44b5920
Fix #319 (#320) 2 years ago
Tristan Otterpohl 21a29edf52
Fixed minor typos, formatting, grammar issues, and outdated link (#318)
* Fixed minor typos, formatting, grammar issues, and outdated link
2 years ago
simonsan 049d49d353
Update mdbook version to v0.4.21 (#317) 2 years ago
Marco Ieni 396ac0fbf0
ci: keep github actions up to date with dependabot (#307) 2 years ago
Marco Ieni 7258b71753
update mdbook version to 0.4.18 (#309) 2 years ago
Carson Riker c7be15d387
Modified example sentences to make sense (#311) 2 years ago
hafeoz 662a519128
Change lints hyphen to underscore (#308) 2 years ago
Marco Ieni 465ed6c860
patterns: remove TODO item (#305) 2 years ago
Marco Ieni 78735669af
intro: improve "design patterns in rust" section (#303) 2 years ago
Marco Ieni 48b1bf51ef
ci: update actions/checkout version (#302) 2 years ago
Marco Ieni b440ed2dba
idioms: intro improvements (#304) 2 years ago
Andrew Sonin 482c2b8720
Fix typo (#300)
`Iterator::filter_map` is analogous to `Iterator::map`, not `Iterator::flat_map`
2 years ago
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>
2 years ago
simonsan cb591acb56
Update .env (#294) 2 years ago
Ivan Tham 2577a11869
Add Link to zh-CN translation (#293) 2 years ago
poly000 90484a2387
fix comment in 'Clone to stasify borrow checker' (#291) 2 years ago
poly000 bcf1a7aeae
fix typo (#289) 2 years ago
alsotang dca0dfdc29
Update coercion-arguments.md (#286)
align the type
2 years ago
Sven Assmann 11a0a13dba
chore: use `Self` instead of the struct name (#284) 2 years ago
Anatol Ulrich 044d36579f
Formatting fixes to unsafe-mods.md (#283) 2 years ago
♫ 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>
3 years ago
Marco Ieni 39a2f36eab
deny-warnings: remove contradiction with rustc doc (#282) 3 years ago
Marco Ieni 66d7e6c7da
deref: fix typo (#275) 3 years ago
Waffle Lapkin 7e9616978f
Escape underscores in a link in functional/generics-type-classes.md (#273)
Previously they were parsed as italic modifiers.
3 years ago
Russell Cohen 567a1f16fb
Updated extensibility to discuss non_exhaustive (#135) 3 years ago
simonsan fa29385292
Updating main branch name (#272) 3 years ago
simonsan 241dfb7cdd
Update mdbook to v0.4.12 (#271) 3 years ago
poly000 9834f5719b
Fixing grammar and spelling mistakes (#270) 3 years ago
Imbolc 6a7088c25c
Fix typo (#266) 3 years ago
Imbolc c23e006208
improve `Default` trait example (#267) 3 years ago
Joel Montes de Oca c9897ab983
Fix grammar, add missing comma (#263) 3 years ago
Joel Montes de Oca 84c0df77b7
Fix typo (#265) 3 years ago
Ivan Tham d30b026811
Note on Vec (#262)
Fix #261
3 years ago
simonsan ef80980ec7
Updating mdbook version (#258) 3 years ago
koalp b809265f54
Fix internal links II (#256) 3 years ago
simonsan a1523995ec
Fix internal links (#255) 3 years ago
jhwgh1968 680509aeee
Add Generics as Type Classes (#249) 3 years ago
Wenxuan 22de99a82b
Improve mem-replace examples (#253) 3 years ago
Bayram fabafb1f15
Adding Command pattern (#247) 3 years ago
simonsan c9c5f70024
Adding 'clone to satisfy the borrow checker' anti-pattern (#110) 3 years ago
bemyak a22d81d751
Add builder method to struct in builder pattern (#251) 3 years ago
Jaxel Rojas fb57f21ec1
Fix syntax error on code snippet (#246)
* Fix syntax error on code snippet

* Added comma to struct definition on code snippet

* cargo fmt, remove ignore flag

Co-authored-by: Marco Ieni <11428655+MarcoIeni@users.noreply.github.com>
3 years ago
Darius Wiles 881f51fef1
Fix format by moving advantage to new bullet (#245) 3 years ago
simonsan 077e247109
Updating mdbook version (#243) 3 years ago
Gianluca Recchia 249a154e81
Improve wording and fix typo (#242) 3 years ago
simonsan 606bcffa44
Structural changes to patterns subfolder (#219) 3 years ago