Gianluca Recchia
249a154e81
Improve wording and fix typo ( #242 )
4 years ago
simonsan
606bcffa44
Structural changes to patterns subfolder ( #219 )
4 years ago
Ivan Tham
e3ed513346
Improve strategy pattern example ( #241 )
...
Reduce unnecessary String creation
4 years ago
Michael Bryan
96fa89b923
Revise the FFI chapters ( #190 )
...
Co-authored-by: Marco Ieni <11428655+MarcoIeni@users.noreply.github.com>
4 years ago
shorii
dd265b1ec1
Fix typo ('indrection' to 'indirection') ( #218 )
4 years ago
follower
4d78ffd3c3
Typo: Fix missing space between words. ( #217 )
4 years ago
Bayram
a524dc27ea
Adding Interpreter design pattern ( #211 )
4 years ago
simonsan
1d173dab4e
Add link to a list of all clippy lints ( #216 )
4 years ago
Jakub Beránek
84bf81a47f
Add delegation crates to See Also in Deref anti-pattern ( #215 )
4 years ago
Matthias Beyer
e6d1576769
Remove lints that have been removed ( #213 )
...
Co-authored-by: simonsan <14062932+simonsan@users.noreply.github.com>
4 years ago
simonsan
2cd70a552d
Shorten lines to line-length 80 ( #208 )
4 years ago
simonsan
40d26477a7
Updating mdbook to v0.4.6 ( #209 )
4 years ago
Marco Ieni
4a7094963a
intro: improve formatting ( #206 )
4 years ago
Marco Ieni
c41be87c45
Create separated page in functional programming ( #184 )
4 years ago
Dale Vaillancourt
bfbc505af2
Fix spelling of Barbara Liskov's name ( #205 )
...
Liscov -> Liskov
4 years ago
Marco Ieni
ceefb9a2ab
Intro: minor change ( #204 )
4 years ago
Cassandra McCarthy
9c33b27658
Use more inclusive language in some parts ( #203 )
4 years ago
Marco Ieni
b49851f2b6
CONTRIBUTING: Add style guide ( #201 )
4 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>
4 years ago
Bayram
497e56e9f7
Adding Strategy pattern ( #146 )
4 years ago
Ped
264cddf06e
Fix typo ("desctructors" to "destructors") ( #195 )
4 years ago
Ped
22e8405b26
Fix typo ("anways" to "anyways") ( #193 )
4 years ago
simonsan
f61f2f40f0
Fix lines to 150 line length for better tracking of future changes ( #189 )
4 years ago
Marco Ieni
868cd2f3f4
intro.md: split lines ( #188 )
4 years ago
Marco Ieni
6cbbcb8246
Remove contributing from html rendered book ( #187 )
4 years ago
Marco Ieni
ff8bc764de
Create additional_resources directory ( #186 )
4 years ago
Marco Ieni
ad52fcb8ea
Add and explain markdown linting rules ( #183 )
4 years ago
Andreas Schmidt
a0e765179d
Add note on #[non_exhaustive] for enums ( #168 )
...
Co-authored-by: Marco Ieni <11428655+MarcoIeni@users.noreply.github.com>
4 years ago
Marco Ieni
3ee9110615
CI: Rename markdownlint job ( #180 )
4 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
simonsan
7af948ea49
Adding design principles overview to additional resources ( #179 )
4 years ago
Marco Ieni
76ae5bd896
Reduce long lines ( #176 )
4 years ago
Marco Ieni
5fedf5aa29
Markdownlint: Do not allow tabs in code blocks ( #178 )
4 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>
4 years ago
Marco Ieni
8ce84d4d64
Add description for offline usage of markdown lints ( #173 )
4 years ago
Marco Ieni
e93c52049c
CI: Simplify lint job ( #174 )
4 years ago
simonsan
66f79d5ddd
Fix typo ( #169 )
...
* Fix typo
* 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>
4 years ago
simonsan
dfd74a86d1
Adding some additional resources ( #159 )
4 years ago
simonsan
a9848987ce
Adding informative links to Builder pattern ( #158 )
4 years ago
simonsan
1f688d7ae2
Writing an introduction for the contribution guide ( #161 )
...
Co-authored-by: Takashi Idobe <idobetakashi@gmail.com>
4 years ago
simonsan
6a58543782
Add participation to Introduction ( #160 )
4 years ago
jhwgh1968
11a4b712c0
Several FFI Sections: Strings, Errors, and API Design ( #106 )
4 years ago
Weipin Xia
501ae92a43
Fix missing argument in rustdoc-init.md ( #166 )
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
simonsan
345514a304
Updating mdbook ( #162 )
...
https://blog.rust-lang.org/2021/01/04/mdbook-security-advisory.html
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
Christopher
c2321270fa
Use coercion for arguments ( #29 )
...
Describe some of the reasons it is considered idiomatic to use `&str` over `&String` in most cases.
Co-authored-by: Marco Ieni <11428655+MarcoIeni@users.noreply.github.com>
Co-authored-by: Chris Wong <lambda.fairy@gmail.com>
Co-authored-by: simonsan <14062932+simonsan@users.noreply.github.com>
Co-authored-by: Ivan Tham <pickfire@riseup.net>
4 years ago
join3r
1a65aadb31
Fix Spelling mistake ( #157 )
4 years ago
Ivan Tham
f8d0570103
Link DRY to wikipedia ( #154 )
4 years ago