Manish Goregaokar
41bfd4d482
Merge pull request #92 from kinseytamsin/question-mark-op
...
Rewrite mentions of `try!` macro to use `?` operator
2020-02-22 21:59:43 -08:00
Kinsey Favre
396ae01fdd
Rewrite mentions of try!
macro to use ?
operator
...
The `try!` macro has been [deprecated since Rust 1.39.0][1] in favor of
the `?` operator; update text using it to reflect this.
[1]: https://doc.rust-lang.org/std/macro.try.html
2020-02-06 16:56:39 -06:00
Nick Cameron
829f1ef061
Merge pull request #88 from fan-tom/patch-1
...
Typo fix
2019-09-30 08:29:01 +13:00
Alexey Gerasimov
6566500a70
Type fix
2019-09-28 19:42:34 +05:00
Chris Wong
7303763d8c
Merge pull request #75 from llogiq/unsafe-mods
...
new pattern: Contain Unsafety in Small Modules
2019-08-01 15:56:17 +12:00
Nick Cameron
0920bba1cf
Merge pull request #83 from Sreyas-Sreelal/patch-1
...
Fix broken links
2019-06-30 14:25:20 +12:00
__SyS__
ef5c1a3763
Fix broken links
2019-06-29 09:03:52 +00:00
Andre Bogus
db86d28e5a
new pattern: Contain Unsafety in Small Modules
2019-05-02 09:39:25 +02:00
Chris Wong
f01b3c0411
Merge pull request #78 from lzutao/entry-boilerplate
...
Mark entry pattern as boilerplate
2019-04-29 18:40:07 +12:00
Chris Wong
a1a570cb55
Merge pull request #81 from kriomant/temporary-mutability
...
Temporary mutability idiom
2019-04-29 18:38:09 +12:00
Nick Cameron
2fd15e4839
Merge pull request #82 from felixrabe/patch-1
...
Typo
2019-04-25 04:33:39 +08:00
Felix Rabe
c6ff9e4bd6
Typo
2019-04-24 18:09:34 +02:00
Mikhail Trishchenkov
8e6bf746ca
Reword to be more formal, use 'redefine' instead of 'rebind'
2019-04-20 22:41:02 +07:00
Mikhail Trishchenkov
1b3a31c7c5
Temporary mutability idiom
2019-04-20 00:08:17 +07:00
Nick Cameron
18ec81f00c
Merge pull request #80 from xakon/raii-name
...
RAII: stands for "Resource Acquisition is Initialisation"
2019-04-09 22:39:54 +12:00
Christos Kontas
a4a74e7d75
RAII: stands for "Resource Acquisition is Initialisation"
...
Unfortunately, the name is even more terrible than initially was
thought!
2019-04-09 12:32:44 +02:00
Nick Cameron
dc99e1eead
Merge pull request #79 from NealEhardt/patch-1
...
Update vec.rs path
2019-03-06 10:29:12 +13:00
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)
2019-03-05 15:25:54 -06:00
lzutao
8f31944078
Also mark late bound as boilerplate
2019-01-26 21:08:57 +07:00
lzutao
82439a6a82
Mark entry pattern as boilerplate
2019-01-26 21:01:41 +07:00
Chris Wong
33fc597e7e
Merge pull request #77 from rivertam/patch-1
...
Add reference to `derive_builder`
2018-12-22 21:12:38 +13:00
Ben Berman
436df362f4
Add reference to derive_builder
2018-12-19 17:35:31 -05:00
Chris Wong
aa886569ed
Update patterns/unsafe-mods.md
...
Co-Authored-By: llogiq <bogusandre@gmail.com>
2018-12-15 18:29:45 +01:00
Chris Wong
a6879dbe97
Update README.md
...
Co-Authored-By: llogiq <bogusandre@gmail.com>
2018-12-15 18:29:22 +01:00
Chris Wong
efa8de654a
Merge pull request #76 from arnavb/patch-1
...
Fix a slight typo
2018-12-15 10:55:26 +13:00
Arnav Borborah
4ab5a61eb5
Fix a slight typo
2018-12-14 15:27:48 -05:00
Francis Gagné
e8cfa397ed
Update patterns/unsafe-mods.md
...
Fix a wrong tick.
Co-Authored-By: llogiq <bogusandre@gmail.com>
2018-11-23 06:29:17 +01:00
Andre Bogus
0989fe893d
new pattern: Contain Unsafety in Small Modules
2018-11-21 13:28:52 +01:00
Chris Wong
45ad4031e9
Merge pull request #71 from behnam/patch-1
...
Update deny-warnings.md
2018-09-09 17:59:15 +12:00
Behnam Esfahbod ❄
51d02c6f94
Update deny-warnings.md
...
Update doc/reference link
2018-09-08 19:03:28 -07:00
Nick Cameron
08a0d04827
Merge pull request #66 from xftroxgpx/patch-1
...
add 2 links for Command and Child in builder pattern
2018-01-29 10:13:05 +11:00
Emanuel Czirai
3b8662e0dc
long lines alignment, inside the .md
2018-01-27 22:57:37 +01:00
Emanuel Czirai
ddc96e410b
add 2 links for Command and Child in builder pattern
2018-01-27 22:53:14 +01:00
Nick Cameron
3dc43df979
Merge pull request #65 from skletsun/patch-1
...
Update ctor.md
2017-12-27 13:30:23 +13:00
Sergey Kletsun
7c97e15988
Update ctor.md
...
Tiny spelling correction
2017-12-26 11:47:39 +02:00
Nick Cameron
f6acf267bf
Merge pull request #48 from llogiq/default
...
new idiom: Default trait
2017-12-06 15:54:28 +13:00
Nick Cameron
ea7e6e7bb8
Merge pull request #63 from dubek/patch-1
...
idioms/option-iter: Fix typo in `extend` example
2017-11-29 08:11:48 +13:00
Dov Murik
d4f20a9851
option-iter: Fix typo in extend
example
2017-11-28 11:11:23 +02:00
Nick Cameron
8d189fdf04
Merge pull request #57 from stephendavidmarsh/patch-1
...
Fix broken link to RAII
2017-05-22 12:35:00 +12:00
Stephen Marsh
6c8bfc0e38
Fix broken link to RAII
2017-05-21 20:31:23 -04:00
Alexander Mescheryakov
ac98925a6b
fixed link to "Builders" ( #56 )
2017-05-18 07:52:07 +12:00
Andre Bogus
95c96dd379
fix doc links
2017-02-17 05:03:05 +01:00
Andre Bogus
c0b541d6af
added derive(new) link
2017-02-16 08:50:43 +01:00
Andre Bogus
65492bc7b2
more default vs. constructor distinction
2017-02-15 18:35:24 +01:00
Andre Bogus
ad1c9ee228
lowercase 'constructor'
2017-02-15 09:16:26 +01:00
Andre Bogus
8be913e83c
use a configuration-themed example
2017-02-09 09:10:55 +01:00
llogiq
ae8a020766
add links to deny(warnings) antipattern, fix typo ( #52 )
2017-01-24 08:06:21 +13:00
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
2017-01-04 13:14:03 +13:00
Chris Wong
3b37252718
Merge pull request #45 from llogiq/fix-38
...
Add another example to the mem::replace idiom
2017-01-04 11:29:16 +13:00
Andre Bogus
48a41e8eda
fix small code mistake
2017-01-03 06:52:35 +01:00