Commit Graph

144 Commits

Author SHA1 Message Date
Richard Walters
1d606a5116
Fix broken links (#105)
* Fix broken links

Fix broken link from `on-stack-dyn-dispatch.md` to `dtor-finally.md`.
Link to `RAII.md` was broken as well.
2020-12-31 12:41:09 +01:00
Chris Wong
607fcb00c4
Merge pull request #99 from shuternay/master
Fix typos
2020-08-16 21:06:33 +10:00
Sergey Kiselev
8b3cd45d9e Fix typos 2020-08-10 11:57:37 +03:00
Manish Goregaokar
68c8037538
Merge pull request #97 from tkaitchuck/master
Issue #91: Add example for example initialization
2020-07-27 09:20:39 -07:00
Tom Kaitchuck
9a9245cad8
Update rustdoc-init.md
Add comment per feedback
2020-07-26 23:54:23 -07:00
Tom Kaitchuck
7e416d0c99
Update idioms/rustdoc-init.md
Co-authored-by: Ivan Tham <pickfire@riseup.net>
2020-07-26 23:47:06 -07:00
Tom Kaitchuck
1e62aa59f8
Update idioms/rustdoc-init.md
Co-authored-by: Ivan Tham <pickfire@riseup.net>
2020-07-26 23:46:08 -07:00
Tom Kaitchuck
c642018eee
Update idioms/rustdoc-init.md
Co-authored-by: Ivan Tham <pickfire@riseup.net>
2020-07-26 23:45:59 -07:00
Tom Kaitchuck
2dcf58a049
Update idioms/rustdoc-init.md
Co-authored-by: Ivan Tham <pickfire@riseup.net>
2020-07-26 23:45:17 -07:00
Tom Kaitchuck
f62a79db7f
Update idioms/rustdoc-init.md
Co-authored-by: Ivan Tham <pickfire@riseup.net>
2020-07-26 23:44:33 -07:00
Tom Kaitchuck
625b5017da
Update idioms/rustdoc-init.md
Co-authored-by: Ivan Tham <pickfire@riseup.net>
2020-07-26 23:44:24 -07:00
Tom Kaitchuck
f2e471027a
Update idioms/rustdoc-init.md
Co-authored-by: Ivan Tham <pickfire@riseup.net>
2020-07-26 23:44:14 -07:00
Tom Kaitchuck
2a4eaff0db
Update idioms/rustdoc-init.md
Co-authored-by: Ivan Tham <pickfire@riseup.net>
2020-07-26 23:44:06 -07:00
Tom Kaitchuck
1571a7ae19
Update idioms/rustdoc-init.md
Co-authored-by: Ivan Tham <pickfire@riseup.net>
2020-07-26 23:43:59 -07:00
Tom Kaitchuck
a2988fe94e
Update idioms/rustdoc-init.md
Co-authored-by: Ivan Tham <pickfire@riseup.net>
2020-07-26 23:43:51 -07:00
Tom Kaitchuck
1761b3b5ce
Update idioms/rustdoc-init.md
Co-authored-by: Ivan Tham <pickfire@riseup.net>
2020-07-26 23:43:40 -07:00
Tom Kaitchuck
2a44fbdb55
Update idioms/rustdoc-init.md
Co-authored-by: Ivan Tham <pickfire@riseup.net>
2020-07-26 23:43:02 -07:00
Tom Kaitchuck
46493aa6c1
Update idioms/rustdoc-init.md
Co-authored-by: Ivan Tham <pickfire@riseup.net>
2020-07-26 23:42:49 -07:00
Tom Kaitchuck
87245c7d17
Update idioms/rustdoc-init.md
Co-authored-by: Ivan Tham <pickfire@riseup.net>
2020-07-26 23:42:36 -07:00
Tom Kaitchuck
da91eda9af Merge branch 'master' of github.com:tkaitchuck/patterns 2020-07-23 13:33:51 -07:00
Tom Kaitchuck
faacbbcf7a Make example more explicet 2020-07-23 13:31:54 -07:00
Tom Kaitchuck
3714ca2606
Update idioms/rustdoc-init.md
Co-authored-by: Ivan Tham <pickfire@riseup.net>
2020-07-23 13:05:16 -07:00
Tom Kaitchuck
5310b14b62 Add example for #91 2020-07-16 23:19:34 -07:00
Manish Goregaokar
83b6d0dac4
Merge pull request #94 from llogiq/ootb-dyn-dispatch
New idiom: Out of the Box Dynamic Dispatch
2020-07-14 16:02:42 -07:00
Andre Bogus
399c38ee2b New idiom: Out of the Box Dynamic Dispatch 2020-07-15 00:28:08 +02:00
Chris Wong
63b3c6545e
Merge pull request #85 from tmandry/patch-1
Mention --cap-lints on #[deny(warnings)] page
2020-07-10 19:35:08 +10:00
Chris Wong
5f1d9962c6
Merge pull request #93 from kellerkindt/patch-1
Show call of default()
2020-07-10 19:25:45 +10:00
Chris Wong
6234dd0047
Merge pull request #95 from Ben-PH/TODOs
TODO's
2020-07-10 19:24:55 +10:00
Ben
a18cbf48a6 Clarify that a topic is currently stubbed 2020-04-25 17:23:33 +02:00
Ben
9327f46478 Add TODOs for module and FFI topics 2020-04-25 17:22:55 +02:00
kellerkindt
5ebfc0cdc5
Show call of default() 2020-03-05 11:28:58 +01:00
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
Tyler Mandry
ef9409aa71
Mention --cap-lints on #[deny(warnings)] page 2019-08-01 14:21:13 -07: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