simonsan
774fe3dbcf
deploy: cae562b311
2021-01-03 02:26:25 +00:00
simonsan
c4a234fa60
deploy: ff9298a607
2021-01-02 17:28:47 +00:00
simonsan
63b95843c8
deploy: 7fc0ae1cba
2021-01-02 11:57:11 +00:00
simonsan
a5b821c45b
deploy: b6e5414941
2021-01-02 11:41:18 +00:00
simonsan
c97d96c042
deploy: de7519f5d9
2021-01-02 11:15:56 +00:00
simonsan
f24a882d47
deploy: 3f3ae4ae73
2021-01-01 11:28:10 +00:00
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
Sergey Kiselev
8b3cd45d9e
Fix typos
2020-08-10 11:57:37 +03: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
faacbbcf7a
Make example more explicet
2020-07-23 13:31:54 -07:00
Tom Kaitchuck
5310b14b62
Add example for #91
2020-07-16 23:19:34 -07:00
Andre Bogus
399c38ee2b
New idiom: Out of the Box Dynamic Dispatch
2020-07-15 00:28:08 +02:00
kellerkindt
5ebfc0cdc5
Show call of default()
2020-03-05 11:28:58 +01: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
Chris Wong
a1a570cb55
Merge pull request #81 from kriomant/temporary-mutability
...
Temporary mutability idiom
2019-04-29 18:38:09 +12: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
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
Arnav Borborah
4ab5a61eb5
Fix a slight typo
2018-12-14 15:27:48 -05: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
Dov Murik
d4f20a9851
option-iter: Fix typo in extend
example
2017-11-28 11:11:23 +02:00
Stephen Marsh
6c8bfc0e38
Fix broken link to RAII
2017-05-21 20:31:23 -04: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
Andre Bogus
48a41e8eda
fix small code mistake
2017-01-03 06:52:35 +01:00
Andre Bogus
964dd9932b
Added comment to explain second example
2017-01-01 05:26:33 +01:00
Andre Bogus
53b35444b6
new idiom: Default trait
2016-12-31 14:56:54 +01:00
Andre Bogus
d827cec092
Add another example to the mem::replace idiom
...
This fixes #38
2016-12-18 21:24:30 +01:00
diwic
5f484ad473
Change "".to_string() to String::new()
...
I mistakenly lost this change in my previous pull request, sorry!
2016-10-12 08:50:29 +02:00
Chris Wong
9d955043a4
Merge pull request #33 from partim/take-for-replace
...
Mention Option::take() as an alternative to mem::replace()
2016-10-10 21:58:42 +13:00
Martin Hoffmann
9fd6a8f9cf
Fix language.
2016-10-10 10:52:57 +02:00