Riley Shea
4017a73d62
Fix default idiom example ( #134 )
...
Before this change, the example code doesn't run on the current rust stable release(1.49).
This is because `Path` inherently has a u8 that requires the sized trait which requires either statics or replacing Path with PathBuf.
After this change, the example code will run "as-is" without warnings or errors.
4 years ago
Ovidiu Curcan
e333d15258
Fix on-stack dispatch example ( #137 )
...
A `char` can't be used as a path. You already use the correct `"-"` in the "Disadvantages" example.
Remove `ignore` for the example block
4 years ago
brandondong
acef005895
Update compose structs compile error example for NLL ( #136 )
4 years ago
simonsan
bff48fae2c
Remove templated late bounds from summary ( #142 )
4 years ago
Marco Ieni
eefd9ef291
Add explanation how to test the book to contributing ( #139 )
4 years ago
simonsan
2bc728d1d3
Marking Motivation in Compose Structs as TODO ( #140 )
4 years ago
Marco Ieni
cae562b311
Remove incomplete phrase ( #138 )
4 years ago
simonsan
ff9298a607
Remove Entry API due to being a template copy ( #133 )
4 years ago
simonsan
d55a89ded4
Add direct links due to #130 ( #131 )
4 years ago
simonsan
c2b307fa9b
Fixing links ( #129 )
4 years ago
simonsan
5846281ee4
Remove reference to rust_rocks.md ( #128 )
...
* Remove reference to rust_rocks.md
Co-authored-by: Marco Ieni <11428655+MarcoIeni@users.noreply.github.com>
4 years ago
simonsan
9f15f69043
Fix typo in filename ( #127 )
4 years ago
llogiq
721a6dff86
Added information on --cap-lints to deny-warnings antipattern ( #58 )
...
* added information on --cap-lints to deny-warnings antipattern
Co-authored-by: simonsan <14062932+simonsan@users.noreply.github.com>
Co-authored-by: Marco Ieni <11428655+MarcoIeni@users.noreply.github.com>
4 years ago
simonsan
d89b51f4d8
Adding Contribution guide ( #123 )
...
* Add statement for non working examples to template
* Adding contribution guide
* Add statement about wayback machine
4 years ago
simonsan
7fc0ae1cba
Adding Nick Camerons talk at PDXRust 2016 to additional resources section ( #102 )
...
* Adding Nick Camerons talk at PDXRust 2016
Co-authored-by: Marco Ieni <11428655+MarcoIeni@users.noreply.github.com>
4 years ago
simonsan
bc49bb4e37
Fixing outdated link to rust-postgress ( #121 )
...
* Fixing outdated link to rust-postgress
Fixes #98
* Remove newline
Co-authored-by: Marco Ieni <11428655+MarcoIeni@users.noreply.github.com>
4 years ago
simonsan
b6e5414941
Add doc tests to CI ( #124 )
...
* rename baz() into main() and vice versa where applicable
Fixes #49
4 years ago
simonsan
b5e755dd80
Fix 404 ( #125 )
4 years ago
simonsan
de7519f5d9
Add introductions ( #117 )
...
Co-authored-by: Marco Ieni <11428655+MarcoIeni@users.noreply.github.com>
4 years ago
wangcong
66ce03a774
Fix wording in "Fold" pattern ( #69 )
...
Co-authored-by: Chris Wong <lambda.fairy@gmail.com>
4 years ago
Marco Ieni
85efbe7fc3
add ci ( #115 )
4 years ago
simonsan
3f3ae4ae73
Adding mdbook configuration and deployment to gh-pages ( #111 )
4 years ago
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.
4 years ago
Chris Wong
607fcb00c4
Merge pull request #99 from shuternay/master
...
Fix typos
4 years ago
Sergey Kiselev
8b3cd45d9e
Fix typos
4 years ago
Manish Goregaokar
68c8037538
Merge pull request #97 from tkaitchuck/master
...
Issue #91 : Add example for example initialization
4 years ago
Tom Kaitchuck
9a9245cad8
Update rustdoc-init.md
...
Add comment per feedback
4 years ago
Tom Kaitchuck
7e416d0c99
Update idioms/rustdoc-init.md
...
Co-authored-by: Ivan Tham <pickfire@riseup.net>
4 years ago
Tom Kaitchuck
1e62aa59f8
Update idioms/rustdoc-init.md
...
Co-authored-by: Ivan Tham <pickfire@riseup.net>
4 years ago
Tom Kaitchuck
c642018eee
Update idioms/rustdoc-init.md
...
Co-authored-by: Ivan Tham <pickfire@riseup.net>
4 years ago
Tom Kaitchuck
2dcf58a049
Update idioms/rustdoc-init.md
...
Co-authored-by: Ivan Tham <pickfire@riseup.net>
4 years ago
Tom Kaitchuck
f62a79db7f
Update idioms/rustdoc-init.md
...
Co-authored-by: Ivan Tham <pickfire@riseup.net>
4 years ago
Tom Kaitchuck
625b5017da
Update idioms/rustdoc-init.md
...
Co-authored-by: Ivan Tham <pickfire@riseup.net>
4 years ago
Tom Kaitchuck
f2e471027a
Update idioms/rustdoc-init.md
...
Co-authored-by: Ivan Tham <pickfire@riseup.net>
4 years ago
Tom Kaitchuck
2a4eaff0db
Update idioms/rustdoc-init.md
...
Co-authored-by: Ivan Tham <pickfire@riseup.net>
4 years ago
Tom Kaitchuck
1571a7ae19
Update idioms/rustdoc-init.md
...
Co-authored-by: Ivan Tham <pickfire@riseup.net>
4 years ago
Tom Kaitchuck
a2988fe94e
Update idioms/rustdoc-init.md
...
Co-authored-by: Ivan Tham <pickfire@riseup.net>
4 years ago
Tom Kaitchuck
1761b3b5ce
Update idioms/rustdoc-init.md
...
Co-authored-by: Ivan Tham <pickfire@riseup.net>
4 years ago
Tom Kaitchuck
2a44fbdb55
Update idioms/rustdoc-init.md
...
Co-authored-by: Ivan Tham <pickfire@riseup.net>
4 years ago
Tom Kaitchuck
46493aa6c1
Update idioms/rustdoc-init.md
...
Co-authored-by: Ivan Tham <pickfire@riseup.net>
4 years ago
Tom Kaitchuck
87245c7d17
Update idioms/rustdoc-init.md
...
Co-authored-by: Ivan Tham <pickfire@riseup.net>
4 years ago
Tom Kaitchuck
da91eda9af
Merge branch 'master' of github.com:tkaitchuck/patterns
4 years ago
Tom Kaitchuck
faacbbcf7a
Make example more explicet
4 years ago
Tom Kaitchuck
3714ca2606
Update idioms/rustdoc-init.md
...
Co-authored-by: Ivan Tham <pickfire@riseup.net>
4 years ago
Tom Kaitchuck
5310b14b62
Add example for #91
4 years ago
Manish Goregaokar
83b6d0dac4
Merge pull request #94 from llogiq/ootb-dyn-dispatch
...
New idiom: Out of the Box Dynamic Dispatch
4 years ago
Andre Bogus
399c38ee2b
New idiom: Out of the Box Dynamic Dispatch
4 years ago
Chris Wong
63b3c6545e
Merge pull request #85 from tmandry/patch-1
...
Mention --cap-lints on #[deny(warnings)] page
4 years ago
Chris Wong
5f1d9962c6
Merge pull request #93 from kellerkindt/patch-1
...
Show call of default()
4 years ago
Chris Wong
6234dd0047
Merge pull request #95 from Ben-PH/TODOs
...
TODO's
4 years ago