♫ 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
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>
2021-03-10 13:40:13 +01:00
Darius Wiles
881f51fef1
Fix format by moving advantage to new bullet ( #245 )
2021-03-08 16:06:44 +01:00
simonsan
077e247109
Updating mdbook version ( #243 )
2021-03-02 22:11:50 +01:00
Gianluca Recchia
249a154e81
Improve wording and fix typo ( #242 )
2021-02-28 23:46:55 +01:00
simonsan
606bcffa44
Structural changes to patterns subfolder ( #219 )
2021-02-25 20:56:37 +01:00
Ivan Tham
e3ed513346
Improve strategy pattern example ( #241 )
...
Reduce unnecessary String creation
2021-02-25 19:43:04 +01:00
Michael Bryan
96fa89b923
Revise the FFI chapters ( #190 )
...
Co-authored-by: Marco Ieni <11428655+MarcoIeni@users.noreply.github.com>
2021-02-24 22:49:30 +01:00
shorii
dd265b1ec1
Fix typo ('indrection' to 'indirection') ( #218 )
2021-02-21 07:29:54 +01:00
follower
4d78ffd3c3
Typo: Fix missing space between words. ( #217 )
2021-02-10 12:06:10 +01:00
Bayram
a524dc27ea
Adding Interpreter design pattern ( #211 )
2021-02-05 10:22:50 +01:00
simonsan
1d173dab4e
Add link to a list of all clippy lints ( #216 )
2021-02-02 20:56:01 +01:00
Jakub Beránek
84bf81a47f
Add delegation crates to See Also in Deref anti-pattern ( #215 )
2021-01-26 20:21:52 +01:00
Matthias Beyer
e6d1576769
Remove lints that have been removed ( #213 )
...
Co-authored-by: simonsan <14062932+simonsan@users.noreply.github.com>
2021-01-25 20:06:40 +01:00
simonsan
2cd70a552d
Shorten lines to line-length 80 ( #208 )
2021-01-22 00:00:02 +01:00
simonsan
40d26477a7
Updating mdbook to v0.4.6 ( #209 )
2021-01-21 15:00:00 +01:00
Marco Ieni
4a7094963a
intro: improve formatting ( #206 )
2021-01-20 16:18:41 +01:00
Marco Ieni
c41be87c45
Create separated page in functional programming ( #184 )
2021-01-20 16:16:12 +01:00
Dale Vaillancourt
bfbc505af2
Fix spelling of Barbara Liskov's name ( #205 )
...
Liscov -> Liskov
2021-01-17 19:22:07 +01:00
Marco Ieni
ceefb9a2ab
Intro: minor change ( #204 )
2021-01-17 09:48:02 +01:00
Cassandra McCarthy
9c33b27658
Use more inclusive language in some parts ( #203 )
2021-01-15 22:44:03 +01:00
Marco Ieni
b49851f2b6
CONTRIBUTING: Add style guide ( #201 )
2021-01-14 22:48:24 +01:00
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>
2021-01-13 23:08:00 +01:00
Bayram
497e56e9f7
Adding Strategy pattern ( #146 )
2021-01-12 01:04:25 +01:00
Ped
264cddf06e
Fix typo ("desctructors" to "destructors") ( #195 )
2021-01-09 18:49:11 +01:00
Ped
22e8405b26
Fix typo ("anways" to "anyways") ( #193 )
2021-01-09 14:42:15 +01:00
simonsan
f61f2f40f0
Fix lines to 150 line length for better tracking of future changes ( #189 )
2021-01-08 08:59:46 +01:00
Marco Ieni
868cd2f3f4
intro.md: split lines ( #188 )
2021-01-07 09:21:41 +01:00
Marco Ieni
6cbbcb8246
Remove contributing from html rendered book ( #187 )
2021-01-07 09:04:33 +01:00
Marco Ieni
ff8bc764de
Create additional_resources directory ( #186 )
2021-01-07 08:52:35 +01:00