Commit Graph

242 Commits

Author SHA1 Message Date
Andre Bogus
31b282ad9f new idiom: mem::replace 2016-10-08 08:51:31 +02:00
Chris Wong
8a94ebc253 Replace "png" with "num_cpus" 2016-10-05 19:34:12 +13:00
Nick Cameron
3d748b1adc Merge pull request #25 from lfairy/option-list
Add "Treating Option like a list"
2016-09-30 09:37:10 +13:00
Chris Wong
f3fe2d6f28 Iterating over an Option 2016-09-29 23:52:13 +13:00
Chris Wong
a65d22ddc2 Direct contributors to the issue tracker 2016-09-29 11:39:56 +13:00
Mikhail Trishchenkov
1bc8a36a2f Small title fix 2016-09-27 16:01:35 +13:00
Mikhail Trishchenkov
67685cddf0 Rename idiom 2016-09-27 16:01:35 +13:00
Mikhail Trishchenkov
9f85aad151 Fix review issues
Replace tabs with spaces, mention usage for borrowing, add disadvantage
(code indentation increase).
2016-09-27 16:01:35 +13:00
Mikhail Trishchenkov
72606ccfcb Clone to closure idiom 2016-09-27 16:01:35 +13:00
Chris Wong
f4ae13a81e Small crates 2016-09-25 16:58:44 +13:00
Nick Cameron
f41b745acf Add the badly-named fold pattern 2016-01-06 10:47:07 +13:00
Nick Cameron
99b1342338 Visitor pattern 2015-12-09 14:00:17 +13:00
Nick Cameron
6ac851e718 Add the extensibility by privacy pattern
(And change the concatenation pattern to say something different about perf)
2015-12-09 10:59:30 +13:00
Nick Cameron
e708788268 Merge pull request #2 from nrc/structs
Composing structs
2015-11-12 10:55:30 +13:00
Nick Cameron
e340602f3f Composing structs 2015-11-12 10:54:36 +13:00
Nick Cameron
fd47bf3ba8 Merge pull request #18 from nrc/deref
Deref polymorphism anti-pattern
2015-11-01 21:32:13 -05:00
Nick Cameron
c2cf5e6c1a Deref polymorphism anti-pattern 2015-11-01 21:31:24 -05:00
Nick Cameron
a06ca32e70 Merge pull request #15 from liigo/patch-3
improve comment
2015-10-28 09:13:30 -04:00
Nick Cameron
e54514d35d Merge pull request #13 from liigo/patch-1
fix compile error in comment
2015-10-28 09:08:25 -04:00
liigo
d4fa321a38 improve comment 2015-10-28 09:09:57 +08:00
liigo
ea3aa4d310 fix compile error in comment 2015-10-28 09:04:38 +08:00
Nick Cameron
8a461ce5f6 Merge pull request #16 from oli-obk/patch-1
Result + try! is a pattern, unwrap() is not
2015-10-27 08:45:04 -04:00
Nick Cameron
d18cb4bd7e Merge pull request #14 from liigo/patch-2
improve comments
2015-10-27 08:43:49 -04:00
Oliver Schneider
d4f297e1d3 Result + try! is a pattern, unwrap() is not 2015-10-27 10:07:01 +01:00
Nick Cameron
11f2875a3b Merge pull request #12 from jsanders/patch-1
Fix typo in `.with_attribute` call.
2015-10-26 22:20:17 -04:00
Liigo Zhuang
0bdd88a94a improve comments 2015-10-27 09:31:41 +08:00
James Sanders
73c74caf14 Fix typo in .with_attribute call. 2015-10-26 15:11:14 -06:00
Nick Cameron
c638139abf Merge pull request #9 from aochagavia/patch-1
Fix typo
2015-10-24 09:21:48 +13:00
Nick Cameron
bb4cc1bfbd Merge pull request #10 from stevegury/patch-1
Fix a minor typo s/he/the/
2015-10-24 09:21:18 +13:00
Steve Gury
5bc7f3a99c Fix a minor typo s/he/the/ 2015-10-23 09:54:08 -07:00
Adolfo Ochagavía
fed94154f3 Fix typo 2015-10-23 15:23:39 +02:00
Nick Cameron
ea2165eaf7 Merge pull request #7 from fphilipe/patch-1
Add syntax highlighting
2015-10-23 22:34:15 +13:00
Philipe Fatio
7a83bd7037 Add syntax highlighting 2015-10-23 09:42:50 +02:00
Nick Cameron
0d011bf108 Merge pull request #3 from MattWis/patch-1
Fix RAII Guards
2015-10-23 11:00:17 +13:00
Matt Wismer
244aedbfae Fix RAII Guards
Make "RAII" uppercase so that the link can be followed
2015-10-22 17:59:00 -04:00
Nick Cameron
325b642a01 Added a few idioms and patterns - some are still WIP 2015-10-23 09:53:16 +13:00
Nick Cameron
cf8479320a Add missing file for concatenating strings 2015-10-20 09:45:11 +13:00
Nick Cameron
fd95943c26 Newtypes 2015-10-15 19:29:27 +13:00
Nick Cameron
65f12dcaab link ctor -> builder 2015-10-15 15:12:37 +13:00
Nick Cameron
ab19516a4f Builder pattern 2015-10-15 15:08:29 +13:00
Nick Cameron
248baabc14 Add the constructor idiom. 2015-08-31 16:24:54 +12:00
Nick Cameron
f8b8d13e50 Initial commit 2015-08-31 10:06:10 +12:00