Commit Graph

240 Commits (catch_panic_anti_pattern)
 

Author SHA1 Message Date
Simon 9aa2d475e9 Adding example for exception safety 3 years ago
Simon 422d9cb070 Adding suggestion 3 years ago
Simon 2f97923a73 Fixing lint 3 years ago
simonsan 4388f631cd
Merge branch 'master' into catch_panic_anti_pattern 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
Ivan Tham e3ed513346
Improve strategy pattern example (#241)
Reduce unnecessary String creation
3 years ago
Michael Bryan 96fa89b923
Revise the FFI chapters (#190)
Co-authored-by: Marco Ieni <11428655+MarcoIeni@users.noreply.github.com>
3 years ago
shorii dd265b1ec1
Fix typo ('indrection' to 'indirection') (#218) 3 years ago
follower 4d78ffd3c3
Typo: Fix missing space between words. (#217) 3 years ago
Bayram a524dc27ea
Adding Interpreter design pattern (#211) 3 years ago
simonsan 1d173dab4e
Add link to a list of all clippy lints (#216) 3 years ago
Jakub Beránek 84bf81a47f
Add delegation crates to See Also in Deref anti-pattern (#215) 3 years ago
Matthias Beyer e6d1576769
Remove lints that have been removed (#213)
Co-authored-by: simonsan <14062932+simonsan@users.noreply.github.com>
3 years ago
simonsan 2cd70a552d
Shorten lines to line-length 80 (#208) 3 years ago
simonsan 40d26477a7
Updating mdbook to v0.4.6 (#209) 3 years ago
Marco Ieni 4a7094963a
intro: improve formatting (#206) 3 years ago
Marco Ieni c41be87c45
Create separated page in functional programming (#184) 3 years ago
Dale Vaillancourt bfbc505af2
Fix spelling of Barbara Liskov's name (#205)
Liscov -> Liskov
3 years ago
Marco Ieni ceefb9a2ab
Intro: minor change (#204) 3 years ago
Cassandra McCarthy 9c33b27658
Use more inclusive language in some parts (#203) 3 years ago
Marco Ieni b49851f2b6
CONTRIBUTING: Add style guide (#201) 3 years ago
vent f78e3e3166
Talk about mem::take instead of mem::replace (#200)
* Talk about std::take instead of std::replace

* Mention mem::replace in mem::take idiom

* Fix example code so it can compile and execute

* Clarify the need for Default in disadvantages

* Update idioms/mem-take.md

* Add note tag to section on mem::replace

Co-authored-by: simonsan <14062932+simonsan@users.noreply.github.com>

* Follow on from previous paragraph in mem::take

* Change title to include mem::take

Co-authored-by: simonsan <14062932+simonsan@users.noreply.github.com>
3 years ago
Bayram 497e56e9f7
Adding Strategy pattern (#146) 3 years ago
Ped 264cddf06e
Fix typo ("desctructors" to "destructors") (#195) 3 years ago
Ped 22e8405b26
Fix typo ("anways" to "anyways") (#193) 3 years ago
simonsan f61f2f40f0
Fix lines to 150 line length for better tracking of future changes (#189) 3 years ago
Marco Ieni 868cd2f3f4
intro.md: split lines (#188) 3 years ago
Marco Ieni 6cbbcb8246
Remove contributing from html rendered book (#187) 3 years ago
Marco Ieni ff8bc764de
Create additional_resources directory (#186) 3 years ago
Marco Ieni ad52fcb8ea
Add and explain markdown linting rules (#183) 3 years ago
Simon 9ea460f904 replace + 3 years ago
Simon 9e2651a82c markdownlint 3 years ago
simonsan 4a851985ed Update anti_patterns/catch_panic.md 3 years ago
simonsan 028e8af704 Update anti_patterns/catch_panic.md
Co-authored-by: Marco Ieni <11428655+MarcoIeni@users.noreply.github.com>
3 years ago
Simon cdda188b83 Add catch_unwind.md to SUMMARY.md 3 years ago
Simon f810323d62 Added todos 3 years ago
Simon ee68dafaea [Fix] Review feedback 3 years ago
Liam Zdenek 82eef12849 Adding catch_panic anti-pattern 3 years ago
Andreas Schmidt a0e765179d
Add note on #[non_exhaustive] for enums (#168)
Co-authored-by: Marco Ieni <11428655+MarcoIeni@users.noreply.github.com>
3 years ago
Marco Ieni 3ee9110615
CI: Rename markdownlint job (#180) 3 years ago
Marco Ieni 48a530218c
markdownlint: fix md004 (#175)
* markdownlint: fix md004

* use `-` for lists

Co-authored-by: simonsan <14062932+simonsan@users.noreply.github.com>
3 years ago
simonsan 7af948ea49
Adding design principles overview to additional resources (#179) 3 years ago
Marco Ieni 76ae5bd896
Reduce long lines (#176) 3 years ago
Marco Ieni 5fedf5aa29
Markdownlint: Do not allow tabs in code blocks (#178) 3 years ago
simonsan d6f98eaa6e
Updating Contrib (#181)
* Updating Contrib

* add to contributing

* Update CONTRIBUTING.md

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

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