simonsan
2cd70a552d
Shorten lines to line-length 80 ( #208 )
3 years ago
Cassandra McCarthy
9c33b27658
Use more inclusive language in some parts ( #203 )
3 years ago
Bayram
497e56e9f7
Adding Strategy pattern ( #146 )
3 years ago
simonsan
f61f2f40f0
Fix lines to 150 line length for better tracking of future changes ( #189 )
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>
4 years ago
Marco Ieni
76ae5bd896
Reduce long lines ( #176 )
4 years ago
simonsan
a9848987ce
Adding informative links to Builder pattern ( #158 )
4 years ago
jhwgh1968
11a4b712c0
Several FFI Sections: Strings, Errors, and API Design ( #106 )
4 years ago
Takashi Idobe
60946dd8c7
Add markdownlint to CI ( #164 )
4 years ago
Takashi Idobe
5f1425d7ed
Apply markdownlint to project ( #163 )
4 years ago
Ivan Tham
e6b427ce38
Use a problem as the intro for newtype pattern ( #153 )
...
A problem can highlight some of the use cases of newtype
pattern rather than discussing generally that rust is strongly
typed. Make the user understand the need of newtype.
4 years ago
Marco Ieni
7ac0b4f79d
Newtype: Add another article to See Also ( #151 )
4 years ago
Marco Ieni
991ab68d12
Newtype: Convert to list ( #148 )
4 years ago
Maximilian Goisser
450bf218dc
Add link to derive_more for newtypes ( #147 )
4 years ago
Thomas Gotwig
6bab5f3f46
Make builder pattern more practical ( #90 )
4 years ago
Marco Ieni
344b5b8fbd
Fix internal links ( #143 )
...
* Rename Readme to index to fix internal book links
Co-authored-by: simonsan <14062932+simonsan@users.noreply.github.com>
4 years ago
brandondong
acef005895
Update compose structs compile error example for NLL ( #136 )
4 years ago
simonsan
2bc728d1d3
Marking Motivation in Compose Structs as TODO ( #140 )
4 years ago
simonsan
b6e5414941
Add doc tests to CI ( #124 )
...
* rename baz() into main() and vice versa where applicable
Fixes #49
4 years ago
simonsan
b5e755dd80
Fix 404 ( #125 )
4 years ago
simonsan
de7519f5d9
Add introductions ( #117 )
...
Co-authored-by: Marco Ieni <11428655+MarcoIeni@users.noreply.github.com>
4 years ago
wangcong
66ce03a774
Fix wording in "Fold" pattern ( #69 )
...
Co-authored-by: Chris Wong <lambda.fairy@gmail.com>
4 years ago
simonsan
3f3ae4ae73
Adding mdbook configuration and deployment to gh-pages ( #111 )
4 years ago
Sergey Kiselev
8b3cd45d9e
Fix typos
4 years ago
Chris Wong
7303763d8c
Merge pull request #75 from llogiq/unsafe-mods
...
new pattern: Contain Unsafety in Small Modules
5 years ago
__SyS__
ef5c1a3763
Fix broken links
5 years ago
Andre Bogus
db86d28e5a
new pattern: Contain Unsafety in Small Modules
5 years ago
Christos Kontas
a4a74e7d75
RAII: stands for "Resource Acquisition is Initialisation"
...
Unfortunately, the name is even more terrible than initially was
thought!
5 years ago
Ben Berman
436df362f4
Add reference to `derive_builder`
6 years ago
Chris Wong
aa886569ed
Update patterns/unsafe-mods.md
...
Co-Authored-By: llogiq <bogusandre@gmail.com>
6 years ago
Francis Gagné
e8cfa397ed
Update patterns/unsafe-mods.md
...
Fix a wrong tick.
Co-Authored-By: llogiq <bogusandre@gmail.com>
6 years ago
Andre Bogus
0989fe893d
new pattern: Contain Unsafety in Small Modules
6 years ago
Emanuel Czirai
3b8662e0dc
long lines alignment, inside the .md
6 years ago
Emanuel Czirai
ddc96e410b
add 2 links for Command and Child in builder pattern
6 years ago
Alexander Mescheryakov
ac98925a6b
fixed link to "Builders" ( #56 )
7 years ago
Nick Cameron
67870c809f
Merge pull request #30 from lfairy/small-crates
...
Prefer small crates
8 years ago
Chris Wong
bfd4b5c9b5
Address feedback from @nrc
8 years ago
Hendrik Sollich
41fa4d556a
fixed highlighting
8 years ago
Chris Wong
8a94ebc253
Replace "png" with "num_cpus"
8 years ago
Chris Wong
f4ae13a81e
Small crates
8 years ago
Nick Cameron
f41b745acf
Add the badly-named fold pattern
9 years ago
Nick Cameron
99b1342338
Visitor pattern
9 years ago
Nick Cameron
e340602f3f
Composing structs
9 years ago
Nick Cameron
c2cf5e6c1a
Deref polymorphism anti-pattern
9 years ago
Nick Cameron
d18cb4bd7e
Merge pull request #14 from liigo/patch-2
...
improve comments
9 years ago
Liigo Zhuang
0bdd88a94a
improve comments
9 years ago
James Sanders
73c74caf14
Fix typo in `.with_attribute` call.
9 years ago
Philipe Fatio
7a83bd7037
Add syntax highlighting
9 years ago
Nick Cameron
325b642a01
Added a few idioms and patterns - some are still WIP
9 years ago
Nick Cameron
fd95943c26
Newtypes
9 years ago