Commit Graph

148 Commits (9329f87520ef1c9e70868e22bdebb2bf1d22d2ee)
 

Author SHA1 Message Date
Nick Cameron 18ec81f00c
Merge pull request #80 from xakon/raii-name
RAII: stands for "Resource Acquisition is Initialisation"
6 years ago
Christos Kontas a4a74e7d75 RAII: stands for "Resource Acquisition is Initialisation"
Unfortunately, the name is even more terrible than initially was
thought!
6 years ago
Nick Cameron dc99e1eead
Merge pull request #79 from NealEhardt/patch-1
Update vec.rs path
6 years ago
Neal Ehardt e8ddd28c23
Update vec.rs path
vec.rs has moved https://github.com/rust-lang/rust/blob/master/src/liballoc/vec.rs

Relevant commit from 2017 eadda7665e (diff-541a0d1eb7d496a1f91ed729f52261ed)
6 years ago
lzutao 8f31944078
Also mark late bound as boilerplate 6 years ago
lzutao 82439a6a82
Mark entry pattern as boilerplate 6 years ago
Chris Wong 33fc597e7e
Merge pull request #77 from rivertam/patch-1
Add reference to `derive_builder`
6 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
Chris Wong a6879dbe97
Update README.md
Co-Authored-By: llogiq <bogusandre@gmail.com>
6 years ago
Chris Wong efa8de654a
Merge pull request #76 from arnavb/patch-1
Fix a slight typo
6 years ago
Arnav Borborah 4ab5a61eb5
Fix a slight typo 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
Chris Wong 45ad4031e9
Merge pull request #71 from behnam/patch-1
Update deny-warnings.md
6 years ago
Behnam Esfahbod ❄ 51d02c6f94
Update deny-warnings.md
Update doc/reference link
6 years ago
Nick Cameron 08a0d04827
Merge pull request #66 from xftroxgpx/patch-1
add 2 links for Command and Child in builder pattern
7 years ago
Emanuel Czirai 3b8662e0dc
long lines alignment, inside the .md 7 years ago
Emanuel Czirai ddc96e410b
add 2 links for Command and Child in builder pattern 7 years ago
Nick Cameron 3dc43df979
Merge pull request #65 from skletsun/patch-1
Update ctor.md
7 years ago
Sergey Kletsun 7c97e15988
Update ctor.md
Tiny spelling correction
7 years ago
Nick Cameron f6acf267bf
Merge pull request #48 from llogiq/default
new idiom: Default trait
7 years ago
Nick Cameron ea7e6e7bb8
Merge pull request #63 from dubek/patch-1
idioms/option-iter: Fix typo in `extend` example
7 years ago
Dov Murik d4f20a9851
option-iter: Fix typo in `extend` example 7 years ago
Nick Cameron 8d189fdf04 Merge pull request #57 from stephendavidmarsh/patch-1
Fix broken link to RAII
7 years ago
Stephen Marsh 6c8bfc0e38 Fix broken link to RAII 7 years ago
Alexander Mescheryakov ac98925a6b fixed link to "Builders" (#56) 7 years ago
Andre Bogus 95c96dd379 fix doc links 8 years ago
Andre Bogus c0b541d6af added derive(new) link 8 years ago
Andre Bogus 65492bc7b2 more default vs. constructor distinction 8 years ago
Andre Bogus ad1c9ee228 lowercase 'constructor' 8 years ago
Andre Bogus 8be913e83c use a configuration-themed example 8 years ago
llogiq ae8a020766 add links to deny(warnings) antipattern, fix typo (#52) 8 years ago
llogiq 1cca0422ea Deny warnings (#47)
* Add another example to the mem::replace idiom

This fixes #38

* New anti-pattern: deny-warnings

* added deprecated link

* fix link title, add explanation why not deprecated

* incorporated hints from lfairy
8 years ago
Chris Wong 3b37252718 Merge pull request #45 from llogiq/fix-38
Add another example to the mem::replace idiom
8 years ago
Andre Bogus 48a41e8eda fix small code mistake 8 years ago
Andre Bogus 964dd9932b Added comment to explain second example 8 years ago
Andre Bogus 53b35444b6 new idiom: Default trait 8 years ago
Andre Bogus d827cec092 Add another example to the mem::replace idiom
This fixes #38
8 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
Chris Wong 3c68655fab Merge pull request #40 from diwic/patch-1
Change "".to_string() to String::new()
8 years ago
diwic 5f484ad473 Change "".to_string() to String::new()
I mistakenly lost this change in my previous pull request, sorry!
8 years ago
Chris Wong 9d955043a4 Merge pull request #33 from partim/take-for-replace
Mention Option::take() as an alternative to mem::replace()
8 years ago
Martin Hoffmann 9fd6a8f9cf Fix language. 8 years ago
David Henningsson 3bec875bdc Merge remote-tracking branch 'dd/patch-1'
Conflicts:
	idioms/mem-replace.md
8 years ago
Nick Cameron e5c792eb69 Merge pull request #37 from hoodie/master
fixed highlighting
8 years ago
Hendrik Sollich 41fa4d556a fixed highlighting 8 years ago
Chris Wong 26e27cd307 Merge pull request #32 from xfix/patch-1
Prepending _ to field name avoids unused field warning
8 years ago
Nick Cameron 283e410d0b Merge pull request #34 from CasualX/master
Fix a few nits.
8 years ago